By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,397 Members | 1,399 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,397 IT Pros & Developers. It's quick & easy.

Advice on AJAX Please

P: 348

I am really new to AJAX but can see the benefits to using it. I downloaded a really nice ajax tab module and started to populate the divs that hold the data within the tab.

What I want to do now is to use AJAX to fetch data from the database and then display that data in my input fields inside the tab.

I have already written all of the PHP that gets the data from the database but I'm lost on where to start with AJAX. What I need from AJAX is a single POST var to be handed off to my PHP script. When the data comes back, it should have 7 columns. I need those 7 columns to populate the coorasponding input tags.

Can someone point me to a tutorial or give me something to serch for?

Mar 17 '09 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
Try this to get started.

For the 7 columns problem, use a unique delimiter (if using a string only), or use JSON/XML and parse the response.
Mar 17 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.