Call PHP script in the background on click

Call PHP script in the background on click

Hi there,

I would like to implement a delete functionality on search results like google has. If a user clicks an X next to one search result the result should disapear and some php code should be executed in the background. All of this without a new pageload.

The hide thing was not the problem, but how do I call a php script without having the site reloaded?

So far my code looks like this:
<a href="" onclick="$(\'#cl'.$results[id][$i].'\').slideUp(500);;return false;" title="Als Betrug/Spam melden und entfernen"><img src="/g/p/IC_dl.gif" width=15 height=14 alt="entfernen" border=0></a>

Thank you for any feedback.

Best regards