The language is php, not javascript. Plus I'm not sure if you can use an src 
attribute, but you can use the include or require functions...

http://php.net/manual/en/language.basic-syntax.php





On Tuesday 14 August 2001 14:32, you wrote:
> Hi people
> I have tried to include php file into html page using the syntax below and
> it said syntax error at this part when the page is loaded. What is wrong
> with calling php file this way? Or is there any other way to call php file
> from html page?
>
> *******************
> <html>
> <body>
> <script language='JavaScript' src='/include/adjs.php></script>
> </body>
> </html>
> *******************
>
> Jack
> [EMAIL PROTECTED]
> "Love your enemies, it will drive them nuts"

-- 
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]

Reply via email to