Re: [PHP] Empty form

2002-02-15 Thread Steven Walker
Ben, I've been dealing with this problem recently. The solution I found works great in my case... the data processing page is the same as the form page. When the page is loaded it tests for post data. If no data is available (ie !isset($name)), then the form will be displayed. When the user

Re: [PHP] Empty form

2002-02-15 Thread hugh danaher
Using header() to return will clear the entire form where all you want is the person to fill in missing data. Yes? I'd use something like: if(!isset($name) die("Use the Browser's Back Button, fill in your name and hit the \"Submit\" Button"); if(!isset($address) die("Use the Browser's Back But

Re: [PHP] empty form field => pgsql NULL gracefully how?

2001-02-15 Thread Richard Lynch
> INSERT INTO testtab2 > VALUES ( upper('$symbol'), '$two_liner', '$href', > '$full_desc', '$submitter_name', > '$submitter_email', CURRENT_TIMESTAMP ) > > I hate to muck them up with a bunch of tests for empty vars, which then > need to be replac