Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] Need a little clarification on mysql_query From: Stefan Powell (spowell <email protected>)
Date: 07/31/98

Cary Collett wrote:
>
> Stefan Powell (spowell <email protected>) said:
>
> Regardless of whether you free prior results, subsequent queries
> still give a new result id. I suppose it would be possible to check
> to see if the last result was free'd and then use that result_id, but
> that seems pretty cumbersome when you can just increment the counter
> for each query regardless.

Pfew! I was worried it was something strange. Seems quite reasonable
to keep incrementing. I'll add a note to the docs.

> > Secondly, I just want to confirm that the mysql_query returns TRUE/FALSE
> > on update, insert, and delete requests and not a results identifier.
> > True or not true?
>
> True, at least this seems to work for me. ;-)

Ok. I'll ad that to the doc notes too.

Hey folks! If you are holding out on some of these pearls of wisdom you
should post them to the documentation notes.
(http://ca.php.net/manual/)

--Stef

--
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