Here's what I'd do (pseudocode):

<?php

if ($submit) {
        check for duplicate;
        if (everything OK) {
                commit to db;
        }
}
else {
        display form with submit button named 'submit';
}

?>

Mick

> how do I do this
> 
> call form
>       wait there until it is completed
> call check
>       look for duplicate
> 
> then if ok
>       I then commit to database after entereing data




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to