Chapter 4, pp 130-131
When I loaded create_reviews.php, I got a syntax error, big surprise since I always expect to have to debug for typos. I couldn't actually find the typo so I loaded the file from the practice files I downloaded from this site. This time I got no error but I did get a blank page and no reviews table was created in my database and of course no data was entered. I took both the CREATE TABLE query and the INSERT query and cut and pasted them into PHPMyAdmin and both queries worked just fine. I now have my reviews table and it was populated without error.
I am using a local development environment called XAMMP and it seems to be working just fine. No big emergency, just wondered why the createreviews.php from your practice files did not work in this instance.
Thanks for a great book. I'm learning a lot and my typing is getting better too! :D
|