![]() |
PHP dropdown menu
How could I get this big chunk of html code into a PHP file ready to be inserted into a html document as a dropdown navigation menu?
Code:
<ul id="nav">John |
Place in file of any sort, and include it into your PHP script. Done and done.
You don't need to do anything special with this since its just hard coded without any PHP. It could even be placed into a .txt file and included with include 'menu.txt';.Although if this were I, I'd either put that data into a database or a file, and then use PHP to actually create the list items. |
| All times are GMT +1. The time now is 08:28 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.