--- In [email protected], Wade Smart <[EMAIL PROTECTED]> wrote:

> You can do
> if(isset($_POST['password']) {
> 
> to see if the password is set. Then you can check to see how many 
> characters are present. If there is 1 or less, then that is a bad 
> password and they need to try again.
> 
> wade
>

Hi Wade, that won't check their entry against the content of
password_tbl though, will it?  I'd like to get with about 5 people
ahead of time, enter their name and whatever password they'd like to
use in password_tbl, then when they do an update, their name &
password would have to match the assigned combination in password_tbl
BEFORE the update  would be performed, else - they'd be asked to click
the back button, try again, etc just as they are with the portion of
code ahead of where this query would go which won't allow blank text
field entries.  Something down the line of:
$query = "SELECT * FROM $table
        if($updater=="updater_column") AND ($passwordd=="passwordd_column")
THEN... perform update

Reply via email to