Jump to content
Larry Ullman's Book Forums

Ch5, P124, Sql Scripts For Pages


Recommended Posts

  • 4 months later...

Hi Larry

In chapter 5, the add_page.php page doesn't seem to be working correctly. What values do I enter into the database to add content. I tried entering numeric categories in the categories table, but it doesn't work, it keeps saying Please select a category, like there is a problem with the select menu. Please tell me what to enter in the database to be able to add pages of content via the add_page.php page. 

Link to comment
Share on other sites

In case it's not clear, the categories query would just be something like:

INSERT INTO categories (category) VALUES ('Common Attacks'), ('Database Security'), ('General Web Security');

Whatever categories you want to create. 

Link to comment
Share on other sites

 Share

×
×
  • Create New...