• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Database

The database is the last portion of the solution we must add. In previous chapters, we created much of the code we need. The database accessing PHP code must draw on that work.

Designing the Database

We start by designing a table in which to store the users' account information. Obviously we will need to store the usernames and passwords so that the users can log in. Probably we want to store their e-mail addresses too, either for sending out updates, building a spam list, or informing users of pertinent news, such as the cancellation of an account due to inactivity.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint