这是我的代码.. PHP代码在按钮点击之前运行
$(document).click(function(){
$('input[type="button"]').click(function(){
<?php
include "posts/connections/db_connect.php";
mysql_query("insert into post_tags(post_id,user_id) values(3,2)");
?>
});
});
</script>
<input type="button" value="submit" />
,HTML元素是