RE: [PHP] $_POST array order

2007-03-15 Thread Michael Weaver
Another option would be to use an associative array: . . . . This way the 'submit' button wouldn't even show up as a key in the array, which is accessible to PHP through the $domain_object_vars array. Best regards, Mike Weaver -- Michael Weaver Founder/Chief Facilitator Dynamic Insight In

RE: [PHP] $_POST array order

2007-03-14 Thread Robert Cummings
On Wed, 2007-03-14 at 17:23 -0500, Richard Lynch wrote: > On Wed, March 14, 2007 12:28 pm, Brad Fuller wrote: > > You could also omit the "name" parameter of the submit button and it > > will > > not even be passed at all. > > > > > > I dunno about these new-fangled browsers, but in the old ones,

RE: [PHP] $_POST array order

2007-03-14 Thread Richard Lynch
On Wed, March 14, 2007 12:28 pm, Brad Fuller wrote: > You could also omit the "name" parameter of the submit button and it > will > not even be passed at all. > > I dunno about these new-fangled browsers, but in the old ones, you'd get "Submit" as the name if the user clicked on the button, and n

Re: [PHP] $_POST array order

2007-03-14 Thread Richard Lynch
On Wed, March 14, 2007 11:58 am, Tim wrote: > 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 and value > > Is it safe to consider that the last

Re: [PHP] $_POST array order

2007-03-14 Thread Tijnema !
On 3/14/07, Tim <[EMAIL PROTECTED]> 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 and value Is it safe to consider that the last element

RE: [PHP] $_POST array order

2007-03-14 Thread Tim
> -Message d'origine- > De : Brad Fuller [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 14 mars 2007 18:29 > À : 'PHP' > Objet : RE: [PHP] $_POST array order > > > -Original Message- > > From: Tim [mailto:[EMAIL PROTECTED] > &

RE: [PHP] $_POST array order

2007-03-14 Thread Brad Fuller
> -Original Message- > From: Tim [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 14, 2007 12:58 PM > To: 'PHP' > Subject: [PHP] $_POST array order > > Hi, > > Quick question regarding $_POST array element order, first the situation: > > I a

[PHP] $_POST array order

2007-03-14 Thread Tim
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 and value Is it safe to consider that the last element in the $_POST array will ALWAYS be the submi