hi,
I'm having trouble on chapter 13, the CMS. The articles display but if i click to view the Full story of the article nothing shows up.(no matter what or how many senteces/words i input. I've enabled some error repporting in my php and now i get an undefined index error. The exact error looks like this:
Code:
Notice: Undefined index: article in D:\Apache2\htdocs\cms\viewarticle.php on line 6
Notice: Undefined index: article in D:\Apache2\htdocs\cms\viewarticle.php on line 8
This is the full page code:
Code:
<?php
require_once 'conn.php';
require_once 'outputfunctions.php';
require_once 'header.php';
outputStory($_GET['article']);
showComments($_GET['article'], TRUE);
require_once 'footer.php';
?>
As you can see, im on Windows. I havent modified the code in any way.
I searched the forum for this problem but nothing like this seems to exist.
Can somoene please help me out?
Thanks alot!
PS- im using php5 and apache 2