PHP (re)install problems
| From: | Jason Bouwmeester | Date: | Mon, 12 Mar 2001 22:00:13 +0000 |
| Subject: | PHP (re)install problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43565@lists.php.net to get a copy of this message | ||
I just reformatted my computer and reinstalled:
Apache 1.3.14 Win32 r2
PHP 4.03pl1
mySQL 3.23.34 - Win
I copied over my mySWL database and my PHP files and I get the following
error:
Warning: Undefined variable: Titlesearch in
d:\apache\htdocs\bkhtml\movies.php on line 22
This is line 22 of movies.php:
print "<form name=\"search\" method=\"get\"
action=\"movies/mysql_moviedb_search.php?Titlesearch=$Titlesearch\">\n";
I also get this error:
Warning: Use of undefined constant link - assumed 'link' in
d:\apache\htdocs\bkhtml\movies\mysql_movieindex.php on line 15
And this is lines 13-15 of mysql_movieindex.php:
$link = mysql_pconnect("localhost",$user,$pass);
if(!link)
die("Couldn't connect to mySQL");
It still displays what it is supposed to, so it is connecting to and
accessing the database, I just get these extra warnings that I never got
before.
TIA,
jb