Re: Error in non existing line

From: Date: Fri, 06 Apr 2001 20:05:44 +0000
Subject: Re: Error in non existing line
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-8325@lists.php.net to get a copy of this message
Dan, I think you're missing the end quotes (") here: ...
        where image='$arr_Images[$randID]'  "  ;
... At 10:57 PM 4/6/2001 +0300, Dan Guja wrote:
Parse error: parse error in /home/httpd/......./htdocs/index.php on line 90 And I have just 89 lines Here are the last linse from index.html: <?php if ($verify ==7){ $connection = mysql_connect("localhost", "user", "password")
        or die("Cannot connect");
$db = mysql_select_db("rating" , $connection); $sql = " update tb
         set rating=rating+$rating
                 where image='$arr_Images[$randID]';
$sql_result= mysql_query($sql , $connection); mysql_close($connection);
                 }
?> </body> </html> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
Julio Cuz, Jr. Riverside Community College jcuz@rccd.cc.ca.us

« previous php.db (#8325) next »