When I try to print_r mysql_fetch_array of a sql query, I get this result.
Array ( [0] => 1 [id] => 1 [1] => 2011 [publish_date] => 2
instead of mysql_fetch_array use mysql_fetch_assoc. thats it.