Php Basics
Published by Unknown on Monday, July 30, 2007 at 10:27 PM.
You don't know PHP you say? Neither do I but i know a bit. Want to make your website easy to update and update something on every page without having to change every page? Well here's how!
1)first off i suggest you make a directory called modules ( you can name it whatever you want but i did this )
2)Choose what thing(s) you want to make editable. Like your title, footer, news, menu's, etc.
3) Now open up Notepad( or whatever you would like ) and cut what you want to make editable on your site from your site and paste it to the NotePad.
4)Now put in place of what you cut out (Now lets just call it menu.php because just say we are making a editable menu) and of course save that notepad as menu.php
5) upload the new menu.php file to the modules directory. and upload the index and you must save it as a *.php file or the 6) Well enjoy the new editable section of your Website! Now all you have to do is edit the menu.php file and it will do it on every page that has on it!
Although if you do no PHP im sure you know this but i just thought i would share it with those who don't know ^_^
1)first off i suggest you make a directory called modules ( you can name it whatever you want but i did this )
2)Choose what thing(s) you want to make editable. Like your title, footer, news, menu's, etc.
3) Now open up Notepad( or whatever you would like ) and cut what you want to make editable on your site from your site and paste it to the NotePad.
4)Now put in place of what you cut out (Now lets just call it menu.php because just say we are making a editable menu) and of course save that notepad as menu.php
5) upload the new menu.php file to the modules directory. and upload the index and you must save it as a *.php file or the 6) Well enjoy the new editable section of your Website! Now all you have to do is edit the menu.php file and it will do it on every page that has on it!
Although if you do no PHP im sure you know this but i just thought i would share it with those who don't know ^_^