Re: Using two colomns of mysql data as key/value pairs in arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jon --

...and then Jon Kriek said...
% 
% Easier is not always "right" or "good script-logic"

Admitted.  I just want to know why it's wrong or so-very-not-good.


% 
% Would it be easier for you to type:
% 
% mysql_fetch_array($result, MYSQL_ASSOC) {

If I needed to care about the space used by a single record I would
probably do that; it leaves me with only one function to have to remember
and if I have a real need to tune it down to one or the other then I can
specify the array index format.


% 
% >> It's easier for me to just always use mysql_fetch_array instead of
% figuring out whether I want mysql_fetch_row, mysql_fetch_assoc, or both.
% "David T-G" <davidtg-php@justpickone.org> wrote in message
% 20031020135849.GS9710@justpickone.org">news:20031020135849.GS9710@justpickone.org...

Dude, your quoting *really* needs some help...  Oh, Outhouse.  My
condolences.


Thanks & HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp00065.pgp
Description: PGP signature


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux