Jump to content

skmit87

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

skmit87's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.