@Calvin,
 
I have a question for you. Why use a database? (Also, I dont see any declaration to accessing the Db connection or do things work differently in php world )
 
This was a decision I had to make in my learning process and am now working with XML which can also store organized portable data creating a lite system. You can also use the data later to work on different systems.
 
Me hobbyist thots.. :-)