Hi Bob,

I owe you an apology, I've got my scripts a bit
mixed up - it's been a veeeeery long 2 months
trying to get this form correct ;-(

How's this?:

Form:
http://www.130605.com/4 

Code:
http://www.130605.com/4.phps 

Is it all ok?

The help you give is very much appreciated

Chris.


> -----Original Message-----
> From: [email protected] [mailto:php-
> [EMAIL PROTECTED] On Behalf Of Bob
> Sent: Saturday, February 04, 2006 5:46 PM
> To: [email protected]
> Subject: Re: [php-list] PHP Form
> 
> Hi Chris,
> I suspect this is a free script you've
downloaded, so you just
> fill in the variables required. It accepts data
from a form,
> stores it in a database, then sends a thankyou
email.
> 
> The form has no page to call, which normally
calls itself or
> a process page, so the user can correct the
errors.
> 
> If it hits an error, your page redirects:
> if (count($errors)) {
>   $_SESSION['formErrors'] = $errors;
>   $_SESSION['wFormVars'] = $formVars;
>   header("Location: " . $locator);
>   mysql_close();
>   exit;
> }
> This will redirect to whatever happens to be in
the Switch
> Case statement (which isn't filled in).
> 
> It's hard to second guess what these pages would
do.
> Bob.
> 
> 



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to