I downloaded the code for "Content Management System" Ch.12 from web
for book "Beginning PHP, Apache, MySQL Web Development"
The program doesn't work correctly. I found a few errors, please help to solve them.
I have Windows 2000, Internet Explorer 6, IIS web server running and MYSQL4 and PHP4 installed.
The problems are:
I. (solved) in all files where you have "e-mail" word gives an error. So, I had to replace by "email" word.
II. (need you help)
in foloowing seven files my browser gives "undefined variable" errors on the lines:
line7 "WHERE user_id=" . $_SESSION['user_id'];
line47 if ($_SESSION['access_lvl'] < 2)
line17 "WHERE article_id=" . $_GET['article'];
line23 linewhile ($row = mysql_fetch_array($result))
Please help to make program work correctly,