data: { activitiesArray: activities },
That’s it! Now you can access it in PHP:
<?php $myArray = $_REQUEST['activitiesArray']; ?>
More Related Contents:
- How to inject javascript code that uses php variables into php page
- How to get the jQuery $.ajax error response text?
- Send array with Ajax to PHP script
- Creating jQuery AJAX requests to a PHP function
- Change DIV content using ajax, php and jQuery
- jQuery AJAX form using mail() PHP script sends email, but POST data from HTML form is undefined
- How to load PHP file into DIV by jQuery?
- Passing Javascript Variable to PHP using Ajax
- Jquery – Uncaught TypeError: Cannot use ‘in’ operator to search for ‘324’ in
- Pass data from jQuery to PHP for an ajax post
- How to pass an array using PHP & Ajax to Javascript?
- Jquery: Running AJAX locally without a webserver
- How can I pass variables from JavaScript to PHP?
- How to rotate image and save the image
- Cross Domain Ajax Request with JQuery/PHP
- show progressbar while loading pages using jquery ajax in single page website
- How to implement a chat room using Jquery/PHP?
- How do I post multiple parameters to a URL
- Can anyone help me what is wrong in this code ajax using with php? [closed]
- Is the following code valid? [closed]
- Send JavaScript variable to PHP variable [duplicate]
- Laravel csrf token mismatch for ajax POST Request
- Using Jquery Ajax to retrieve data from Mysql
- How to avoid echoing character 65279 in php?
- Sending JSON to PHP using ajax
- First drop down menu to auto change the options of a second dropdown
- How to preview an image before and after upload?
- PHPExcel download using ajax call
- jQuery AJAX Call to PHP Script with JSON Return
- Call PHP function from jQuery?