Justin, et al --

...and then Justin Patrin said...
% 
% David T-G wrote:
% 
% >...and then [EMAIL PROTECTED] said...
% >% 
...
% >%       How about:
% >%       $i = mysql_result(mysql_query($q,$dbro),0);
% >
% >Oooh!  Cool!  Just right.
...
% 
% Of course, this leaves the result handle open. It's best to store the 
% result handle and free it with mysql_free_result().

Makes sense.  I actually hadn't thought of that; do I need to do that
after a typical while(mysql_fetch_array()) or does the exhaustion caused
by the while loop then close and free for me?


Thanks & TIA & HAND

:-D
-- 
David T-G
[EMAIL PROTECTED]
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to