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
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
> 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
3 matches
Mail list logo