Pass a query in URL using jquery [closed]
I want to pass a $_GET[''] to a php file, when a word is clicked in a div,it must display data from the db.
It displays the data without the query.
The process.php contains SQL statement to query the db and display values.
Thanks Jean
if you are serious, read .ajax();
Take a look at .get();
Example:
$.get('ajax/test.html', function(data) {
$('.result').html(data);
alert('Load was performed.');
});
精彩评论