Re: [PHP] Form Processing

2010-11-29 Thread Daniel Molina Wegener
On Monday 29 November 2010, "Ron Piggott" wrote: > I am unable to retrieve the value of $referral_1 from: Sorry, I did't see the name=email attribute. It should be name="email[]", and you will get the data from the $_REQUEST['email'] variable or $_POST['email'] as array. If you want detaile

Re: [PHP] Form Processing

2010-11-29 Thread Daniel P. Brown
On Mon, Nov 29, 2010 at 18:54, Ron Piggott wrote: > > $new_email = mysql_escape_string ( $_POST['referral_$i'] ); Because you're using literal quotes, so PHP is literally looking for the POST reference 'referral_$i'. Instead of using the style of field names you're using, why not use a v

Re: [PHP] Form Processing

2010-11-29 Thread Daniel Molina Wegener
On Monday 29 November 2010, "Ron Piggott" wrote: > I am unable to retrieve the value of $referral_1 from: That's very simple, you are missing the name attribute for your input elements, for example: Should be: Please read the following links: HTML Standards: http://www.w3.org/standa

Re: [PHP] Form Processing Question - Empty Fields

2007-05-24 Thread Richard Lynch
On Wed, May 23, 2007 11:40 am, Stephen wrote: > I have a script to process the post from a form. > > The form is used to upload photos and has fields for the filename, > alt text, caption and a checkbox to indicate if this photo is the > main page image rotation. > > I wanted to build a gener

Re: [PHP] Form Processing Question - Empty Fields

2007-05-24 Thread Stut
Tijnema wrote: On 5/23/07, Stephen <[EMAIL PROTECTED]> wrote: I have a script to process the post from a form. The form is used to upload photos and has fields for the filename, alt text, caption and a checkbox to indicate if this photo is the main page image rotation. I wanted to build a

Re: [PHP] Form Processing Question - Empty Fields

2007-05-23 Thread Greg Donald
On 5/23/07, Tijnema <[EMAIL PROTECTED]> wrote: Again, this is Off topic, /me rolls eyes Do you even know what P-H-P stands for? HTML questions are not off topic, especially form related ones. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] Form Processing Question - Empty Fields

2007-05-23 Thread Tijnema
On 5/23/07, Stephen <[EMAIL PROTECTED]> wrote: I have a script to process the post from a form. The form is used to upload photos and has fields for the filename, alt text, caption and a checkbox to indicate if this photo is the main page image rotation. I wanted to build a general routine

Re: [PHP] Form Processing - Multiple inputs of the same name

2003-02-01 Thread Mike Potter
This worked perfectly. Thank you. As for the FAQ, I looked, but I guess not in the right place! Mike "Tracy Finifter Rotton" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Change the name of your checkboxes in your HTML to something like: > > name="DeleteI

Re: [PHP] Form Processing - Multiple inputs of the same name

2003-01-31 Thread Philip Olson
On Fri, 31 Jan 2003, Tracy Finifter Rotton wrote: > Change the name of your checkboxes in your HTML to something like: > > name="DeleteIDs[]" > > This will make it an array, and you can access all the elements like > > $_POST['DeleteIDs'][0] > > etc. > > (This should really be in a FAQ somew

Re: [PHP] Form Processing - Multiple inputs of the same name

2003-01-31 Thread Tracy Finifter Rotton
Change the name of your checkboxes in your HTML to something like: name="DeleteIDs[]" This will make it an array, and you can access all the elements like $_POST['DeleteIDs'][0] etc. (This should really be in a FAQ somewhere...) -- tracy On 1/31/03 11:17 AM, "Mike Potter" <[EMAIL PROTECTED

RE: [PHP] Form Processing problem....

2001-04-17 Thread Jack Dempsey
I can't be sure without seeing everything, but you've most likely done everything correct except for the post-processing HTML output...in other words, if you're sending info to a php script, you have to output some HTML at the end of the processing that gives the correct HTML layout and says for i