<?

@$error=$_GET["err"];//get err from URL (the @ supress the notice the first time it is run)

?>

<html>
<head>


</head>


<form action="results.php" method="post">

Enter search:<br>
<input type="text" name="search1"><br>
<?if($error==1){echo "*Please enter a search";}?>


<br><br>

<input type="submit" value="Submit">


</form>

</body>
</html>