I have following code in which I want to know the value of bind parameter:
$sql->bindParam( ':checkbox', $value['CHECKBOXLIST'], PDO::PARAM_STR );
How can i know value of :checkbox
variable?
This variable i am passing to IN
query of WHERE
clause, but unable to get result. This is a statement. $value['CHECKBOXLIST']
returns array like 1,2,3,4
.
where Checkbox IN
(:checkbox)
How can I also handle it?