if you don't mind , would you please help me to understand the mysql_result. I found it not clear in the php reference
this is my code
$sql = "SELECT Desc FROM app ";
$result = mysql_query($sql);
echo mysql_result($result, 0);
and I get error
Warning: mysql_result() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\www2\MobileApp\projects\HistoryNotes.php on line 52
but if I select * it returns the first column
???