Thread: Help w/ PHP
View Single Post
  #4   Spotlight this post!  
Unread 24-10-2006, 22:20
GRaduns340 GRaduns340 is offline
The Fruit Man
AKA: Gary
FRC #0340 (Greater Rochester Robotics)
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Rochester, NY
Posts: 152
GRaduns340 has a spectacular aura aboutGRaduns340 has a spectacular aura aboutGRaduns340 has a spectacular aura about
Send a message via AIM to GRaduns340
Re: Help w/ PHP

Quote:
Originally Posted by Musician
Hey, I'm an amateur webmaster. Can anyone give some advice with implementing PHP and MySQL with the following website: http://205.174.115.19/
The suggestion about include statements is definitely a good start, but once you get comfortable with that, you might want to move into storing content for each page in a database, then use a PHP to print the page's content from the database rather than from each file. That way you have ONE page with all of the relevent header and footer for every page, and the database holds unique entries for each of the others. It also saves a lot of space and effort. If you decide to add another section in addition to header/footer (or whatever you have) you can easily go back and change it once, rather than have to add it to every file again, which was the idea to avoid in the first place.