Re: [PHP] Re: $_POST array order

2007-03-14 Thread Jochem Maas
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

RE: [PHP] Re: $_POST array order

2007-03-14 Thread Tim
> -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&#

[PHP] Re: $_POST array order

2007-03-14 Thread Al
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