Send jQuery array to PHP post?
- by FFish
I have a javascript function that gathers two arrays, imagepaths and captions.
I want to send with PHP's post to the same page $_SERVER['PHP_SELF'], but I really don't know where to start..
PHP:
if (isset($_POST['Submit'])) {
$edit_photos->update_xml($edit_photos->album_id, $_POST['src_arr'], $_POST['caption_arr']);
// prevent…