开发者

Send MySQL Query w/o Form or Page Refresh

I want to send a MySQL query without a form as it won't be taking user input. I want this to be done without refre开发者_开发百科shing the page. You can use any JavaScript, PHP or jQuery.


Write a PHP script which runs the query. Make an AJAX request to this URL with JavaScript to run it.

jQuery example:

$.get('runquery.php');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜