Select Query problem
This Query is not working
$db1="select Field1, field2, field3
from table1,table2,table3
where table1.field1=table2.field2";
if(!empty($text))
{
$db1.="AND table3.field1=table2.field1
AND table1.field3='$text'";
}
$db3=mysql_query($db1) or die(" ERROR IN QUERY");
$db2=mysql_num_rows($db3);
Someone help pls !!!!!!!!!!!!!!!!1
Subject
Views
Written By
Posted
Select Query problem
2496
September 29, 2005 03:58AM
1808
September 29, 2005 08:36PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.