Help Help Help, I am doing a website and this is the error i keep getting, not on all sql queries just on those i used "while" with here is the query:
include("db_info.php");
$query = mysql_query("SELECT * FROM abouthedgelinks");
while ($result = mysql_fetch_array($query))
{
echo "<tr><td align=\"left\">";
echo "<a href=\"abouthedge.php?id=".$result['id']."\" class=\"text10\">".$result['name']."</a>";
echo "</td></tr>";
}
NOTE: from time to time when i click the refresh button it works fine then when i click on one of the results it goes back to the same error., I did an echo on the query and it worked fine, I tried to use that query on phpmyadmin and it gave me the right results, i dont know what to do anymore, tried mysql_fetch_assoc and still got the same results.
Please help.
I double checked the spelling of the table or the case its all correct.
Thanks in advanced.