Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

Re: [PHP3] Sybase result always true? From: Adam Gotheridge (adam <email protected>)
Date: 03/07/99

>When querying Sybase(on Linux) as:
>$query="select * from archives where tgi_id=$tgi_id";
>if(!$result=sybase_query($query))
>{
> Print "error etc";
> exit()
>}
>
>And $result gives always "2" so empty results don't execute the exit().

Print (" Rows=" .sybase_num_rows($result));

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>