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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to