Getting PHP Error while sending query to database
<p>I keep getting this error;
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in </p>

<p>I checked other questions and their answer and couldn<code>t figure it out. My query works fine when I do it from phpmyadmin with any number in $number. But like this it doesn</code>t work.</p>

<pre><code>$editquery = mysql_query("select * from content where no='$number' LIMIT 1");
$row = mysql_fetch_array($editquery);
echo $row[0]; // 42
echo $row[1]; // the email value
</code></pre>

<p>I extra question which one is better mysql_fetch_array or mysql_fetch_row</p>
