manic Posted February 5, 2015 Share Posted February 5, 2015 Hi Chapter 5, page 124 offers some SQL commands to populate the pages table, available to download from your website. Please could you guide me to them, as I cannot find them? Link to comment Share on other sites More sharing options...
Larry Posted February 11, 2015 Share Posted February 11, 2015 Sorry! Those don't seem to be there. I'll see if I can unearth them from my database and add them to the SQL file. In the meantime, you can just use lorem ipsum content. Link to comment Share on other sites More sharing options...
grahamgr3 Posted June 18, 2015 Share Posted June 18, 2015 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 More sharing options...
Larry Posted June 19, 2015 Share Posted June 19, 2015 You can use any content values you want. The book has the words I used for the categories. Link to comment Share on other sites More sharing options...
Larry Posted June 19, 2015 Share Posted June 19, 2015 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 More sharing options...
Recommended Posts