php doesn't understand javascript, php executes on the server and javascript on the client side.

Edward Peloke wrote:

I have some javascript that by itself, runs fine in a php file but, when I
enclose it in php...

<?
if (!variable)
{
?>

---insert java here

<?
}
?>

Then is does not work...is there a trick to this? Can this not be done?

Thanks,
Eddie




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to