The code below returns : "Parse error: parse error, unexpected T_BOOLEAN_AND
".....
so must assume it's not possible, but anybody out there who's able to give
me a suggestion how to get this going.
2 different tables have to be checked for correct input from form.
(Would even want to do a third....)
Thanks,
Martin
QUOTE+++++++++++++++++
if($dbConn)
$query = mysql_query("SELECT count(*) FROM users WHERE username =
'{$_POST['strUserName']}'");
$query2 = mysql_query("SELECT count(*) FROM lid WHERE Ngfnummer =
'{$_POST['strNgfnummer']}'");
if(mysql_result($query, 0, 0) == 0) && (mysql_result($query2, 0,
0) == 0)
{
UNQUOTE+++++++++++++++++
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php