Re: parsing error
| From: | JJeffman | Date: | Sat, 03 Feb 2001 23:13:03 +0000 |
| Subject: | Re: parsing error | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6345@lists.php.net to get a copy of this message | ||
> <?php
> if ($result == 0);
You have a wrong semicolon at the end of the line above.
Jayme.
http://www.conex.com.br/jjeffman
-----Mensagem Original-----
De: Marc Bragg <msbjustice@mindspring.com>
Para: <php-db@lists.php.net>
Enviada em: sábado, 3 de fevereiro de 2001 20:44
Assunto: [PHP-DB] parsing error
> Another strange error, parsing:
>
> <?php
> if ($result == 0);
> echo ("<b>Error " . mysql_errno() . ": " . mysql_error() .
> "</b>");
> elseif (mysql_num_rows($result) == 0);
> echo("<b>Query executed successfully!</b>");
> else:
> ?>
>
> on the 'elseif' statement.
>
> suggestions? is there a parse checker, that identifies errors?
>
>
> --
> 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
>