Send mysql query with just a click
<p>I can send a query to mysql database with following code:</p>

<pre><code>$sql = mysql_query("INSERT INTO wall VALUES('', '$message', '$replyno')");
</code></pre>

<p>My questions is, Is there any way to send a query with just a click on some text.</p>

<p><strong>Let's example:</strong> there are a text name Reply. I want if i click this Reply text then mysql database field value (<strong>field name: Reply, type: int</strong>) will be increase by 1.  </p>

<p><strong>Sorry I DON'T KNOW ABOUT JAVASCRIPT/AJAX:(</strong></p>

<p><strong>FINAL UPDATER CODE TO @DEVELOPER:</strong></p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;/head&gt;
&lt;script language="javascript"&gt;
$("#mylink").click(function() {
$.ajax({
url: "test.php"
}).done(function() { 
$(this).addClass("done");
});
});
&lt;/script&gt;
&lt;body&gt;
echo "&lt;a href='#' id='mylink'&gt;Reply&lt;/a&gt;";
&lt;/body&gt;
&lt;/html&gt;
Php page:
&lt;?php
include("database/db.php");
$sql = mysql_query("INSERT INTO wall VALUES('','','','','','','','1');");
?&gt;
</code></pre>
