Can't get the code in chapter 17 to work
I have installed mysql 4.1.6, apache 2.2 and php 5 on Windows XP.
I took the comments off the php.ini file for mysql and mysqli.
I can get the code in the beginning of the book (Beginning MySql by Robert Sheldon and Geoff Moes), to work on page 35 but when I try to access the code in chapter 17, it displays the headers but the php code is not executed. Instead, the code itself is displayed.
I have installed, reinstalled, tryed all kinds of things and am loosing my mind. I am sure it is something simple. I am not as familiar with Apache and PHP as I would like. But, I am learning. :)
I am actually using this book (Beginning Mysql,by Robert Sheldon and
Geoff Moes) as a textbook. I desperately want to be able to use the code in the back of the book to show my students how the front end (the web based app), works with actual database.
Apache and PHP are working fine. When I run the phinfo() test, it displays everything that is installed include mysql. I have created the DVDREntals database in mysql via the command prompt.
Please help!
|