Setting up a personal server - Problems
I've recently setup a personal server on my Win98SE box, using Apache (Newest), PHP (Newest), and MySQL(Newest) - it all works fine, expect for one minor detail...
Notice: Undefined index: title in C:\apache\htdocs\main.php on line 17
Notice: Undefined index: date in C:\apache\htdocs\main.php on line 17
Notice: Undefined index: date in C:\apache\htdocs\main.php on line 17
Notice: Undefined index: user in C:\apache\htdocs\main.php on line 17
Title: Date Posted: 12/31/69 Time: 18:00 Posted by:
Notice: Undefined index: news in C:\apache\htdocs\main.php on line 21
Notice: Undefined index: date in C:\apache\htdocs\main.php on line 17
Notice: Undefined index: date in C:\apache\htdocs\main.php on line 17
Notice: Undefined index: user in C:\apache\htdocs\main.php on line 17
Title: Date Posted: 12/31/69 Time: 18:00 Posted by:
Notice: Undefined index: news in C:\apache\htdocs\main.php on line 21
print "<td><strong>Title:</strong> ".$row['title']." <strong>Date Posted:</strong> ".date("m/j/y", $row['date'])." <strong>Time:</strong> ".date("H:i", $row['date'])."<strong> Posted by:</strong> ".$row['user'];
print $row['news'];
This script works FINE on my linux box (Was pre-setup when I bought it), I merely copied the database over from that to my personal server...
Could it be my configurations? I just installed php, mysql, and apache, and didn't configure anything besidse the default directories...