Your Status: Logged out Log in

To highlight how easy it is to do database backed websites I wrote a simple guestbook using PHP  

Member rating: No Rating | Words: | Submitted: Tue Jun 20 2006

Page Preview
Preview
Previous 1 of 20 Next

On the left is an image preview of every page of this document, and below are the first 150 words with formatting removed:

The Guestbook To highlight how easy it is to do database backed websites I wrote a simple guestbook using PHP. The code will be examined here to explain how the PHP code works and why I did certain things. One of my goals in writing database backed websites is to keep related pages and functions as simple as possible, but where possible to use a single file to make troubleshooting easier. This might make things more confusing at first, but it will work better in the long term. The application is very simple. When you go to the page it loads the "Add A Message" form and then connects to the database to get all the guestbook entries. Once is has selected the data it builds the html to display the output and delivers it to the browser. When someone fills out the form and hits the submit button, the form...

Get instant access



  • Instant, unlimited access to our documents in full
  • Swap your work for free access, or pay £4.99
  • To see the full version of this document and 150,044 others
Register Now