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:
>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);
>                  }
>PHP Database 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]

Julio Cuz, Jr.
Riverside Community College

PHP Database 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