Page 1 of 1

Resource ID#3 ERROR?

Posted: Thu Mar 12, 2009 12:34 pm
by nishmgopal
Hi Guys,

the following code keeps giving me an error "Resource ID#3"

Code: Select all

 
$sql = "SELECT * FROM ID_Table WHERE Job_ID IN (SELECT Job_ID FROM Job_ID WHERE Job_ID ='1')";
$result = mysql_query($sql)
or die ("Couldn't execute query.");
 
echo $result;
 
Can you please help

Re: Resource ID#3 ERROR?

Posted: Thu Mar 12, 2009 12:39 pm
by jayshields
Read the mysql_query() manual page.