PHP - Simple way to read single record from MySQL - Stack Overflow
These people are wrong, $id = mysql_result($result,0) provides you with just one value like you asked. You do NOT have to fetch a whole row into an associative array if you don't want to. – Dan Grossman Jan 5 '11 at 20:25...