hi all
I'm having trouble getting something simple working and can't see why.
This is the code I'm running:
<?php if ($row_Recordset1['type']=="agent"){
header("Location: agentindex.php");
echo "AGENT";
exit;
}
else
{
header("Location: llindex.php");
echo "LANDLORD";
exit;
}
?>