>Ideal scenario, a blank form is presented to the 
> user, and when 
> the form is submitted, do the logic check and act accordingly.  Is it 
> possible using $PHP_SELF as the target, or do I have to use 2 
> files: a 
> form 'front end' with the php logic in the 'backend'??

Yes, this is possible, and commonly done. Just add some logic to determine
if the page is being displayed for the first time, or, if it is being posted
to. An easy way to check this is to see if $HTTP_POST_VARS[] has any
elements. If it does, the form has been posted, so process the form data.

Kirk 

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