I'm not sure how to go about this, but I wanted to mysql_query and return each field as a variable containing it's value. For instance...
I have 3 fields.
id
name
email
Example:
$result mysql_query("select * from users where id='3'", $database);
I want to use $id $name and $email instead of having to do something like..
$id = mysql_result($result, 0, "id");
etc..