Al wrote:
> Why not simply unset() the unwanted value by its key, i.e., the submit
> button's name.
actually double unset it. to avoid the request array key hack that exists in
older versions of php :-)
>
> Tim wrote:
>> Hi,
>>
>> Quick question regarding $_POST array element order, first the si
> -Message d'origine-
> De : Al [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 14 mars 2007 18:03
> À : php-general@lists.php.net
> Objet : [PHP] Re: $_POST array order
>
> Why not simply unset() the unwanted value by its key, i.e.,
> the submit button
Why not simply unset() the unwanted value by its key, i.e., the submit button's
name.
Tim wrote:
Hi,
Quick question regarding $_POST array element order, first the situation:
I am submitting a form with x first fields and the post value returns the
last element as being the submit button name
Bennie Foreman wrote:
Hi,
I am new to the PHP world so don't give me too much grief if this has a
simple solution. My problem is that the $_POST array is not being
populated. I have created a form and the method of that form is "POST". I
have started the session using session_start() but stil
this works too:
$message =
$_POST['first_name']." ".$_POST['last_name']."\n".
$_POST['address']."\n".
$_POST['city']." ".$_POST['state']." "$_POST['zip']."\n".
$_POST['country']."\n".
$_POST['email']."\n".
$_POST['design']."\n".
$_POST['comments'];
"Zbranigan" <[EMAIL PROTECTED]> schrieb i
> "Steven" == Steven Farrier <[EMAIL PROTECTED]> writes:
Steven> I have tried using $_POST array variables in the following
Steven> ways $message = "($_POST['first_name'])
Steven> ($_POST['last_name'])\n($_POST['address'])\n($_POST['city'])
Steven> ($_POST['state'])
Steven>
6 matches
Mail list logo