Re: Re[2]: [PHP] setting request variables

2004-03-04 Thread matthew oatham
'login.php'); exit; } //password ok echo 'Welcome '.$_POST['username'].''; }else{ //first pass and $error is still empty include('login.php'); } - Original Message - From: "Tom Rogers" <[EMAIL PROTECTED]>

Re[2]: [PHP] setting request variables

2004-03-03 Thread Tom Rogers
Hi, Thursday, March 4, 2004, 11:08:06 AM, you wrote: mo> but what if I wanted the variable $error to be a message. I want to set a mo> variable called $error to something like "invalided password" then display mo> this on the login page. mo> Cheers mo> Matt mo> - Original Message - mo>