Ajax (sending a different number of params)

Hi there,

I’m trying to work a way out on how to send multiple params via post using ajax

but the amount of params can change everytime, i know how to create the param string but how would the post page handle the different amount of them, is there a way to loop and recieve each of the params that get sent?

http://www.sitepoint.com/forums/showthread.php?t=674118