Re: Error in non existing line
| From: | kuk | Date: | Fri, 06 Apr 2001 20:00:54 +0000 |
| Subject: | Re: Error in non existing line | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8324@lists.php.net to get a copy of this message | ||
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:kuk@studcity.vpti.vladimir.ru