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
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
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
I am unable to retrieve the value of $referral_1 from:
$new_email = mysql_escape_string ( $_POST['referral_$i'] );
why?
PHP while lopp to check if any of the fields were populated:
$i=1;
while ( $i <= 5 ) {
$new_email = mysql_escape_string ( $_POST['referral_$i'] );
if ( strle
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
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
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
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
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 to build the form to allow for a varying
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
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
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
Is it possible to pass an group of input boxes of the same name, then get
the values of all the checked boxes or filled out textboxes?
How do I get ALL the IDs passed. Right now it only passes the last ID. Do
I really have to give them all unique names?
For example...
Jon Smith
David C
afterwards which is
incorrect...you have to do something after you process the info...
best of luck,
jack
-Original Message-
From: Jack Lauman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 8:47 PM
To: php-general
Subject: [PHP] Form Processing problem
I am calling the fol
I am calling the following php script from an HTML form with
In Internet Exploder 5.0 it processes the form, sends the message and
commits to the database, but does not return to the referring page.
In Netscape 4.77 it displays an error message the document contained
no data even though it proc
15 matches
Mail list logo