Hi,
I have a Javascript that I like to use with PHP/MYSQL, But I don't know how to mix the two...
Here is an example.
<?php
/* do php stuff here, like set a value to $x */ $x = 3; ?>
<script> funtion x() { var foo = <?php echo $x; ?>; alert(foo); } </script>
-- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com ----------------------- "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing."
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php