Ok what I want to do is have a search field and use this form to process the search for the $username. I've been playing with it all morning and have gotten no where. What I want it to do is if it finds the username it needs to redirect to ABC page if not redirect to the other page. Can someone help me. I left my query blank because it wasn't getting me any where anyways.
Thanks,
Taylor
<?
$db = mysql_connect("localhost","ABC","ABC");
mysql_select_db (ABC);
$result = mysql_query ("");
if(!$result)
{
header("Location:ABC");
exit;
}
if($result)
{
header("Location:ABC");
}
?>