Re: parsing error
| From: | Jim | Date: | Sun, 04 Feb 2001 01:47:26 +0000 |
| Subject: | Re: parsing error | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6346@lists.php.net to get a copy of this message | ||
Here you go:
<?
if ($result == 0){echo ("<b>Error " . mysql_errno() . ": " . mysql_error()
.
"</b>");}
else{echo("<b>Query executed successfully!</b>");}
?>
-Jim
----- Original Message -----
From: "Marc Bragg" <msbjustice@mindspring.com>
To: "Jim" <jgreenaway@secondarymind.com>
Sent: Saturday, February 03, 2001 4:50 PM
Subject: Re: [PHP-DB] parsing error
> Still having problem:
>
> <?
> if ($result == 0);
> echo ("<b>Error " . mysql_errno() . ": " . mysql_error() .
> "</b>");
> else if mysql_num_rows($result) == 0{
> echo("<b>Query executed successfully!</b>");
> }
> else:
> ?>
>
> Parse error: parse error in
> /http/www/b/bidattorney.com/public_html/phptest/mysql_test.php3 on line 24
>
>
> ideas?
>
>
>