title: What happens when I send boolean True-False to a PDO statement as a parameter which is bound to an int field?
body: <p>I have an int field in database and :disabled is supposed to be true false, I am assuming database gets boolean values as integer 0 and 1, but I am unsure.</p>
  
  <pre><code>function loadbyinput($name,$password,$ipnumber="0.0.0.0",$type="member",$disabled=FALSE){    
  $dbh = new PDO(...);
  $statement=$dbh-&gt;prepare("insert into 
   actor(name,password,ipnumber,type,disabled)
   values(:name,:password,:ipnumber,:type,:disabled)");
  $statement-&gt;bindParam(":disabled", $disabled);
  }
  </code></pre>
  
  <p>I am not writing any GUI at the moment so it is hard to test such things for me.</p>