Possible Duplicate:
mysql_fetch_array() expects parameter 1 to be resource, boolean given in select
simple question here.
I have a SELECT query
SELECT FROM friendzone WHERE ID = '$editID'"
I am sure this is going to give me only one row as result, cause ID's can't be duplicate in my DB.
How can I access the column values?
$row = mysql_fetch_array($query);
I think this is useless since I don't have to make any array.. I have only one row!
If I don't put it into a While cicle, and try to do e.g.
.$row['ID'].
I get:
mysql_fetch_array() expects parameter 1 to be resource, boolean given
Thanks in advance everyone.