Map a link with a function
<p>Suppose I have a link and a function as below, how can I map this link with the function?</p>

<p>As a result, user click on the link "remove user" will execute the function "remove_user</p>

<pre><code>&lt;a href="xxx"&gt;remove all compare items&lt;/a&gt;

functio remove_user() {
return mysql_query("DELETE * FROM compre_items");
}
</code></pre>
