Hello, Dan

You did not close { } statement.

DG> Parse error: parse error in /home/httpd/......./htdocs/index.php on line 90

DG> And I have just 89 lines

DG> Here are the  last linse from index.html:
DG> <?php
DG> if ($verify ==7){
DG> $connection = mysql_connect("localhost", "user", "password")
DG>         or die("Cannot connect");
DG> $db = mysql_select_db("rating" , $connection);
DG> $sql = " update tb 
DG>          set rating=rating+$rating 
DG>                  where image='$arr_Images[$randID]';
DG> $sql_result= mysql_query($sql , $connection);
DG> mysql_close($connection);
DG>                  }
DG> </body>
DG> </html>

Alexander mailto:[EMAIL PROTECTED]

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