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 trial
nicholas maddren
12,793 PointsWhere can I learn to use PHP with AJAX?
Hi I have seen the AJAX course on here and I find it a real shame that they don't actually use a server side language with the project.
Can anyone point me in the right direction to show me where I can learn to use PHP with AJAX? I'm finding it really hard to understand AJAX concepts without learning the server side code also.
The instructor says that I can view other courses on Treehouse to learn how to develop the server side script however I am unable to find any.
Thanks, Nick
1 Answer
jason chan
31,009 Pointsyou just use ajax request to your php links.
$("button").click(function(){
$.get("your_page.php", function(data, status){
alert("Data: " + data + "\nStatus: " + status);
});
});
Ham Hamey
5,712 PointsHam Hamey
5,712 PointsWell I learned it by seeing videos on youtube way back but here at teamtreehouse you can find ajax basics course but they have not used any localhost or sever i recommend you to search for videos on youtube.