I have the following select statement-
$sql1 = mysqli_query($link,"SELECT id FROM $tblname1 WHERE
$tblfield='".strtolower($result)."'")
or die ('Error: Query 1 failed');
I want to run it on 2 identical tables to see if $result exists in either.
How is this done in one statement?
Michael
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---