Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDustin Scott
Courses Plus Student 7,819 PointsSending more than 1 AJAX request to same PHP file
How I can send more than 1 AJAX JQuery request to same PHP file.
I cant put like this:
if(isset($_POST['value'])){}
It wont work.
But if I write it like this:
if(isset($_POST)){}
It will work, I want to send more than request. How I can do that?
1 Answer
Andrew McCormick
17,730 PointsCheck out Closures - stackoverflow- closures
followed by this one for the php side - http://www.googleclosure.com/ajax-recieving-json-data/
Dustin Scott
Courses Plus Student 7,819 PointsDustin Scott
Courses Plus Student 7,819 PointsSorry I didn't get that