I have been following the book of sitepoint php and mysql novice to ninja , implementing all examples , everything was running smooth, until chapter 7, final topic managing jokes , where the author states that the database example in the chapter CMS was not designed to support add jokes and delete jokes operation. What is bugging me is, why is it not suitable for these operations, it seems normalized with no database anomalies.
Jokes
Id
Joketext
Jokedate
Authorid
Jokecategories
Jokeid
Categoryid
Categories
Id
Name
Author
Id
Name
Any help and reply would be much appreciated
Thanks,
T.



Reply With Quote


, once you confirmed there is nothing wrong with the database, I skimmed through the later chapters to find the answer...The author was talking about website security in general , as its not secure to allow just anybody to delete and add jokes to your database without an authorization mechanism

Bookmarks