I have a form that allows you to post several names at once.
Here is the input field.
Then using Jquery I want to pass the data to send.php without reloading the page so I use:
But how do I pass an array value through the ajax? I know it needs to pass it as "name" but I’m having trouble setting that up in the jQuery. Something like this will fail:
You could serialize the data using the serialize function from php.
You must be logged in to reply to this topic.