ITC 280 assignment nine

08.02.2011

time spent one hour.

  • added pager class
  • list page now has a pager

 

extra stuff

I added a category column to my products table. I tried to add a foreign key constraint to a categories table. I don’t know if I was successful or not because I don’t know how to check relationships in mySQL. regardless, I still was able to pass a loaded query string with the sub navigation sidebar. Now my products are can be separated into categories by clicking on the category links in the sidebar. A good way to remember SQL syntax if you forget is to use the graphical user interface in PHPMyAdmin, and then look at the SQL syntax that it generated.