tags:

views:

48

answers:

2

Hello,

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

+3  A: 

if you are serious, read .ajax();

Reigel
A: 

Take a look at .get();

Example:

$.get('ajax/test.html', function(data) {
  $('.result').html(data);
  alert('Load was performed.');
});
Spleeyah