Practical PHP and MySQL
Chapter 11
This chapter focused on creating a news site. The site has three levels of users: admins, posters, and regular users who can rate stories. The other aspect of this project was to integrate the QuickForm
PEAR extension.
Exercise
- Read All About It (news site)
- INet only. It won't work on this server so why bother?
Admin Login
Username: user
Password: passPosting Rights
Username: poster
Password: childRegular User
Username: lurker
Password: btard
What I Added
- Increased subject length to 100 characters
- Used camel case and more descriptive variable/function names
- Added an active state to side navigation
- Reduced unneccessary redundency in code