RE: [PHP] Form Question

From: Date: Sun, 21 Oct 2001 20:28:12 +0000
Subject: RE: [PHP] Form Question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71758@lists.php.net to get a copy of this message
if ($T3==""){header ("Location: new_narrative.php?FilledName=No&variable1=hello&variable2=goodbye");} etc etc - seb -----Original Message----- From: Chip Landwehr [mailto:omegachip2000@yahoo.com] Sent: 21 October 2001 21:03 To: php-general@lists.php.net 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" <seb@raceshoot.com> wrote in message news:BAELJLBLJPDMDLJLPGGMKENNCLAA.seb@raceshoot.com... > 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:omegachip2000@yahoo.com] > Sent: 21 October 2001 20:49 > To: php-general@lists.php.net > 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > --- > 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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net --- 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

« previous php.general (#71758) next »