Codice PHP:
<script
    function 
read() {
        if(
document.post.subpost.value == document.post.subpost.value
            
document.post.subpost.value "1";
        else 
document.post.subpost.value "0";
    }
</script> 
Dice: "read is not a function"

Come mai?