RE: [PHP] Filling Forms with $variables

2002-02-13 Thread Michael Geier
You might also find it easier to type: -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 4:14 PM To: PHP Subject: RE: [PHP] Filling Forms with $variables also remember that strictly speaking, _all_ html attribute values _should_ be

Re: [PHP] Filling Forms with $variables

2002-02-13 Thread Steven Walker
Adding quotes around the whole php statement works! I also tried the htmlspecialchars() function, but that did not work. It makes sense because after the preprocess of php, no quotes would be left... it's obvious now :) Thank you Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PR

RE: [PHP] Filling Forms with $variables

2002-02-13 Thread Martin Towell
also remember that strictly speaking, _all_ html attribute values _should_ be quoted -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 9:07 AM To: PHP Subject: RE: [PHP] Filling Forms with $variables Enclose the value in quotes, like so

Re: [PHP] Filling Forms with $variables

2002-02-13 Thread Lars Torben Wilson
On Wed, 2002-02-13 at 13:56, Steven Walker wrote: > Hi, > > I'm having trouble setting the value of form elements using variable > values. For example: > > > > > > > > In the browser, the name field is only filled with "Steven", and drops > off everything after the space. If I echo $

RE: [PHP] Filling Forms with $variables

2002-02-13 Thread Johnson, Kirk
k > -Original Message- > From: Steven Walker [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 13, 2002 2:56 PM > To: PHP > Subject: [PHP] Filling Forms with $variables > > > Hi, > > I'm having trouble setting the value of form elements using varia

Re: [PHP] Filling Forms with $variables

2002-02-13 Thread Christopher William Wesley
On Wed, 13 Feb 2002, Steven Walker wrote: > > > > > > > In the browser, the name field is only filled with "Steven", and drops > off everything after the space. If I echo $name outside of the form it You need to put quotes around the value. value=""? g.luck, ~Chris

RE: [PHP] Filling Forms with $variables

2002-02-13 Thread Rick Emery
try: "> -Original Message- From: Steven Walker [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 3:56 PM To: PHP Subject: [PHP] Filling Forms with $variables Hi, I'm having trouble setting the value of form elements using variable values

RE: [PHP] Filling Forms with $variables

2002-02-13 Thread Matt Schroebel
Always use htmlspecialchars() on form value fields and any data you put into the tags. -Original Message- From: Steven Walker [mailto:[EMAIL PROTECTED]] > In the browser, the name field is only filled with "Steven", and drops off everything after the space. If I echo $na

[PHP] Filling Forms with $variables

2002-02-13 Thread Steven Walker
Hi, I'm having trouble setting the value of form elements using variable values. For example: > In the browser, the name field is only filled with "Steven", and drops off everything after the space. If I echo $name outside of the form it prints fine. Any help would be really appr