Hi again. My code simply asks for a username and password but even if they insert incorrect details the called page is displayed.
How can I get them to be redirected to another page if their login information is incorrect...? echo "<p><h2>registerd users login here please...</p></h2>"; echo "<form action = 'members/index.php' method='POST'>"; echo "<pre>UserID:\t\t<input type = 'text' name = 'TXT_UserID'></pre>"; echo "<br><br>"; echo "<pre>Password:\t\t<input type = 'password' name = 'TXT_UserPassword'></pre>"; echo "<br>"; echo "<pre>\t\t<input type='submit' value='Submit Details'</pre>"; echo "</form>"; -- ----------------------------- Michael Mason Arras People www.arraspeople.co.uk ----------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php