not mysql_fetch_array unless u need those int indexes. mysql_fetch_assoc is the same thing but does not index the integer value, just the string field name.
Joel "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Use mysql_fetch_array instead of mysql_fetch_row. > > CF High wrote: > > >Hey all. > > > >Basic question here: > > > >How can I refer to a query result set as $result['field_name'] rather than > >$result[0]? > > > >So, I'm looking for <? echo $result['field_name'] ?> -- just can't seem to > >get the right syntax. > > > >-- clueless > > > > > > > >-- > > > > > > > > > > > > > > -- > The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

