> <?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 <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [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