note 20586 rejected from faq.html by sander
| From: | sander@php.net | Date: | Tue, 09 Apr 2002 13:14:18 +0000 |
| Subject: | note 20586 rejected from faq.html by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-29013@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