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_Recordset 1['type']=="agent"){
header("Locatio n: agentindex.php" );
echo "AGENT";
exit;
}
else
{
header("Locatio n: llindex.php");
echo "LANDLORD";
exit;
}
?>
I'm having trouble getting something simple working and can't see why.
This is the code I'm running:
<?php if ($row_Recordset 1['type']=="agent"){
header("Locatio n: agentindex.php" );
echo "AGENT";
exit;
}
else
{
header("Locatio n: llindex.php");
echo "LANDLORD";
exit;
}
?>
Comment