$idArray = array(1,2,3,4);
can I write this line in HTML?
Another option (even nice looking, I'd say):
But of course it gets sent as POST. I wouldn'r recommend sending it with serialize since the output of that function can get pretty big and the length or URL is limited.
with GET: