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');
精彩评论