[PHP] to include php file into html file

2001-08-14 Thread Jack
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

RE: [PHP] to include php file into html file

2001-08-14 Thread Lawrence . Sheed
Try ?php include /include/adjs.php; ? in your html file to include some php code in there [1]Javascript is a rather sh*tty client side language, it doesn't parse php very well. [2]script language='JavaScript' src='/include/adjs.php/script

Re: [PHP] to include php file into html file

2001-08-14 Thread Jack
I also tried ?php include myphp.php;? into my html page, and it appears that nothing happen at all,. Looks like the html page does not recognize the php tag. Is there any other way that one can include a php file into a html file? Jack [EMAIL PROTECTED] Love your enemies, it will drive them nuts

Re: [PHP] to include php file into html file

2001-08-14 Thread Raphael Pirker
Yes, but you've got to trick your HTTP-software into believing that a .html (or .htm respecitvely) is actually a PHP file. I can't quite remember the tag to do so, but you should find it at www.apache.org somewhere. It's called file mapping. -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] to include php file into html file

2001-08-14 Thread Lawrence . Sheed
php file into html file I also tried ?php include myphp.php;? into my html page, and it appears that nothing happen at all,. Looks like the html page does not recognize the php tag. Is there any other way that one can include a php file into a html file? Jack [EMAIL PROTECTED] Love your enemies

Re: [PHP] to include php file into html file

2001-08-14 Thread Alnisa Allgood
At 10:20 AM -0500 8/15/01, Jack wrote: I also tried ?php include myphp.php;? into my html page, and it appears that nothing happen at all,. Looks like the html page does not recognize the php tag. Is there any other way that one can include a php file into a html file? Jack set html as a php