src/Fimsi/DBAL/Mysqli.php
function bind($orig,$b,$wanted){
    $result = array($b);
    foreach($wanted as $k => $field){
      if(isset($orig[$field])&&strlen("".$orig[$field])){
        $result[$field] = $orig[$field];
      }else{
        $result[$field] = null;
      }
    }
    return $result;
  }
function bind($orig,$b,$wanted){
    $result = array($b);
    foreach($wanted as $k => $field){
      if(isset($orig[$field])&&strlen("".$orig[$field])){
        $result[$field] = $orig[$field];
      }else{
        $result[$field] = null;
      }
    }
    return $result;
  }
function bind ( $ orig , $ b , $ wanted ) { $ result = array ( $ b ) ; foreach ( $ wanted as $ k => $ field ) { if ( isset ( $ orig [ $ field ] ) && strlen ( "" . $ orig [ $ field ] ) ) { $ result [ $ field ] = $ orig [ $ field ] ; } else { $ result [ $ field ] = null ; } } return $ result ; }
get the bound values, using null if not defined in the orig
get the bound values using null if not defined in the orig