selecting info & knowing what failed - please help
Posted: Mon Feb 27, 2006 3:32 am
Hi,
i have the following
But sometimes there is no 'girth' record and sometimes there is no 'height' record
Is is possible to have my resultset tell me which field failed ?
$r=mysql_query($q, $connection);
if (!$r): $msg="No Records because..."
Thanx
i have the following
Code: Select all
$q="SELECT height,girth FROM Th,Tg WHERE Th_id=Tg_id";Is is possible to have my resultset tell me which field failed ?
$r=mysql_query($q, $connection);
if (!$r): $msg="No Records because..."
Thanx