I have a very complicated question that involves some php. I have a database I am pulling information from using ajax which specks to a php page which pulls the info. Now this info pulled is a link which its id behind it eg)
now when i click on this link I get additional information the item. My issue comes in as into how I should call this information using ajax I know how to do it with php but how do i pull the correct values from the db using ajax?
I hope this question is clear.
Hard to really answer that without more information about how you have implemented the site.
Basically, an AJAX call is not much different from any other request. It calls (in this case) a PHP script that fetches the information from the database, and then it likely does something fun with the result it gets.
Anyway, as mentioned earlier, it's somewhat difficult to explain unless I have more details about the implementation, how the site is built, how it's loaded on the server side etc. NetTuts+ has a few examples here on how to do AJAX calls with the jQuery framework and you can find a whole bunch of information by searching for PHP and AJAX.
Good luck with this.
I will post the code I am using later hopefully someone could solve my issue