How To Create A Template For Your Site
Computing : Learning PHP If you currently have lots of static HTML pages, and are just learning PHP, then one command will be very useful to you. Isn't it annoying how on a twenty page site, if you want to update your navigation, you need to make the update twenty times? Well, not with PHP. Simply place the fixed elements of all pages in a separate file and call it something like navigation.html. Then, in each PHP file that will include the file, simply write: include ("navigation.html"); ... as easy as that!
![]() Questions about learn PHP:
|
|