Hi All,
i am facing the following issue in my code below:
$dbQuery = "SELECT * from product where Title=\"$blobId\"";
$query_result=mysql_query($dbQuery) or die (mysql_error());
echo $query_result; //I see that a "resource Id 2 is coming up
$result = mysql_fetch_array($query_result) or die('no such data') ; //Its always saying no such data though the above query works fine in MYSQL command prompt.
If you see the Mysql_fetch_arraly always goes into the die mode. It is to be noted that the above query works in Mysql command prompt. Also the $query_result has value as resource id #2. What seems to be the problem here kindly guide me...