-
AJAX and PHP
Don't know much about ajax so I need some help here. All I want to do is in a php page have a button that calls a php file that gets data from a database and then loads this data(pictures) in a place on the page without reloading the page? How do I do this with ajax?
Thanks in advance.
-
-
have you looked at any tutorials? are you familiar with php?
If you are familiar with php, then you can start by grabbing the information necessary, in this case the picture details, then to build the interaction between the two see
http://www.w3schools.com/Ajax/ajax_xmlhttprequest.asp
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks