my code:
<script>
comform.onclick=function(){
if(window.confirm("confirm?")){
<?php
//I want to write it here
?>
}
}
</script>
how can I do for it? or the js and php can't been together?