Hi all.
I'm new in work with prototype. Please,help me.

I need to pass an array to the .php script. I'm using such code:

new Ajax.Request('/ajax/name_of_function.php', {
              parameters: {name_of_perameter: name_of_array},
              method: 'post',


But as a result I get in $_POST['name_of_perameter'] only the last
element of array.

Please, explain me - how I can do it correctly

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to