Little question (for those who already know the answer
Code: Select all
$stm->bindParam(1,$id,PDO::PARAM_INT);
$db->execPrepare();Code: Select all
$db->execPrepare(array( settype($id,'int') ));Moderator: General Moderators
Code: Select all
$stm->bindParam(1,$id,PDO::PARAM_INT);
$db->execPrepare();Code: Select all
$db->execPrepare(array( settype($id,'int') ));Code: Select all
$stm->bindParam(5,$fields['description'],PDO::PARAM_INT);