> i have test.php: > <? > echo "test"; > ?> > > to call this in the html, i use > <SCRIPT LANGUAGE="Javascript" SRC="test.php"></script> > > this works fine for IE, but is there an alternative for Netscape to do this?
PHP is a server side programming language and it does not execute in the browser. What you are doing here is including php code fragment and telling the broswer it is Javascript. IE is forgiving about "<%" and ignores it, but Netscape throws a Javascript error (as it should). Once again, PHP is executed on the server side. http://www.php.net Roko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]