Switch to mysql_fetch_assoc().

That way we can index the $row array by its column name, rather than
integer.

Signed-off-by: Thiago Farina <tfarina@chromium.org>