rbailer
08-31-2006, 09:57 AM
This query works when i use two of the tables, but when it try to go to all 3 it doesnt work...
$sresult = mysql_query("SELECT * from docutech, tblorder, tblmainorder where docutech.orderid = tblorder.autoid and tblmainorder.orderid = tblorder.id");
This looks good to be, so maybe it is the way I am printing the data...
while($elist=mysql_fetch_object($sresult))
{
....code.... $elist->autoid ....code....
}
$sresult = mysql_query("SELECT * from docutech, tblorder, tblmainorder where docutech.orderid = tblorder.autoid and tblmainorder.orderid = tblorder.id");
This looks good to be, so maybe it is the way I am printing the data...
while($elist=mysql_fetch_object($sresult))
{
....code.... $elist->autoid ....code....
}