hello -
im trying to conditional test these two objects.
purpose to check if $F_Id is equal to the list id.
$fid is a variable set.
thanks in advance for your help.
im trying to conditional test these two objects.
purpose to check if $F_Id is equal to the list id.
$fid is a variable set.
Code:
if ( ($Id = 'N') && ($DId = 'Y') ) { $result = @mysql_query($query_list, $list) ; $row = @mysql_fetch_array($result) ; $F_Id = $row['FId'] ; if ($fId != $F_Id) $GoTo = "Error.php"; if (isset($_SERVER['QUERY_STRING'])) { $GoTo .= (strpos($GoTo, '?')) ? "&" : "?"; $GoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $GoTo)); }
Comment