Thanks, Michael


You've reinforced how I've come learn that php does things.  When I first tried the 
script 
it simply printed the first form over and over. it was kind of funny in a way.  I'll 
restructure 
my program now to account for how PHP does things.  thanks again,

chris



On Mon, 9 Apr 2001 22:34:36 +0930 (CST), Michael Hall wrote:

>
>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