How the get the posted data

Shaban's Avatar

Shaban

03 Apr, 2011 12:35 PM

Hello,

I don't understand when I HTTP POST the form how to retreive posted data ?
I have 3 textfields "you" "me" "he" When I print posted data I get

Array
(

[me] => Enter Name Here
[as_values_075] => 
[as_values_05] => value for me,
[you] => Enter Name Here
[as_values_188] => 
[as_values_120] => value for you,
[go] => Enter Name Here
[as_values_229] => 
[as_values_231] => value for him,
[button] => Submit

)

I understand that as_values_xxx are the value sent by textimputs but how do I figure out which value is related to which ?

Thank you !

  1. 1 Posted by Kekz on 04 Apr, 2011 09:21 AM

    Kekz's Avatar

    I use asHtmlID

    Try asHtmlID: "me" and retrieve with as_values_me.

  2. 2 Posted by Shaban on 06 Apr, 2011 11:17 AM

    Shaban's Avatar

    Thanks works great

  3. 3 Posted by benlittle1991 on 04 Aug, 2011 10:25 PM

    benlittle1991's Avatar

    Can you elaborate on this please on how to get the values? My values come from a PHP script and i'm struggling to access the values to store in mysql database once chosen.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac