This is a discussion on execute javascript from php code within the alt.comp.lang.php forums, part of the PHP Programming Forums category; How can I execute a javascript file(test.js) from within PHP. I'm running oscommerce and want to insert ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
"nerf" <nervin@bellsouth.net> wrote in message news:xf%8b.3109$me.1432@bignews5.bellsouth.net... > How can I execute a javascript file(test.js) from within PHP. I'm running > oscommerce and want to insert a menu created in javascript by Sothink > DHTMLMenu. Thanks in advance > > You can just echo it out, remember the browser reads the output from PHP as HTML. Thomas. |