简体   繁体   中英

retrieve data from mysql using php and jquery

I have a menu, it contains multiple items, each menu item will retrieve data from the database. I want to do it without the page refresh, I want like an area that will change when the user clicks on the menu link. How should I send data to the php script and how should I get it from there and preview it on the page? If you can send me any information, references or examples that will be great. Thanks in advance.

I would start by reading some of the documentation from the jQuery website: http://api.jquery.com/category/ajax/

This might also be of interest to you: http://articles.sitepoint.com/article/ajax-jquery

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM