Re: PHP (re)install problems
| From: | Jack Dempsey | Date: | Mon, 12 Mar 2001 22:15:45 +0000 |
| Subject: | Re: PHP (re)install problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43566@lists.php.net to get a copy of this message | ||
<snip>
> 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";
are you sure your variable is capitalized previously?
>
> 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)
you forgot the $ in front of link.....you want if(!$link)
all the best,
jack