if ($T3==""){header ("Location: new_narrative.php?FilledName=No&variable1=hello&variable2=goodbye");}
etc etc - seb -----Original Message----- From: Chip Landwehr [mailto:[EMAIL PROTECTED]] Sent: 21 October 2001 21:03 To: [EMAIL PROTECTED] Subject: Re: [PHP] Form Question I got that but the passing back I'm having a problem with. This is waht I got: if ($T3==""){header ("Location: new_narrative.php?FilledName=No");} How do I change this to include a Post? "Seb Frost" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > well all of the entries are passed via post or get to your form handler > (obviously). So just pass them back when you re-call the form. > > then put in > > <input type="text" name="firstname" value="<?=$firstname?>"> in the form > > or something like that anyway. > > - seb > > -----Original Message----- > From: Chip Landwehr [mailto:[EMAIL PROTECTED]] > Sent: 21 October 2001 20:49 > To: [EMAIL PROTECTED] > Subject: [PHP] Form Question > > > I got a form that a user fills out. When they hit submit they are > transfered to a PHP page that verifies their data. If a problem is found > (They forgot to enter an e-mail address) the PHP sends them back to the > original form with the field they forgot to fill out highlighted in red. > Unfortunately all there entries are wiped out and they have to re-enter > everything. Any easy way to keep there original entries? > > > > > -- > 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] > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.282 / Virus Database: 150 - Release Date: 25/09/2001 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.282 / Virus Database: 150 - Release Date: 25/09/2001 > -- 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.282 / Virus Database: 150 - Release Date: 25/09/2001 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.282 / Virus Database: 150 - Release Date: 25/09/2001 -- 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]