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



Reply via email to