Posts by Nuno Santos • 1 point
1 post
-
-1
votes2
answers3501
viewsA: Pass javascript data to a php array
The best way to pass Javascript <=> PHP information is through JSON. In the post by ajax shall indicate the dataType: 'json'. On the PHP side you should respond to something like: <?php…