note 20586 added to faq.html

From: Date: Tue, 09 Apr 2002 05:26:10 +0000
Subject: note 20586 added to faq.html
Groups: php.notes 
Request: Send a blank email to php-notes+get-28996@lists.php.net to get a copy of this message
Hello, I am new to PHP and would like to use it as an alternative to using JavaScript. You see I have a menu section of a site that changes often so I have created the code in an external JS file and using the document.write to write the menu to the site. But if the user does not have JS enabled then the menu will not appear. I tested the server to see if the server supports PHP by using the print command (or function, what ever you call it) and it works. So I would like to take all the code and put it into an external PHP file and call it into the HTML file. Can this be done? Thank You, Mahesh Bisesar -- http://www.php.net/manual/en/faq.html.php http://master.php.net/manage/user-notes.php?action=edit+20586 http://master.php.net/manage/user-notes.php?action=delete+20586 http://master.php.net/manage/user-notes.php?action=reject+20586

« previous php.notes (#28996) next »