How to set bind_param values for timestamp (CURRENT_TIMESTAMP ) in a
select * from mytable where date like=?
i tried it with an integer but than like is not working.
How to set bind_param values for timestamp (CURRENT_TIMESTAMP ) in a
select * from mytable where date like=?
i tried it with an integer but than like is not working.
$date = date('Y-m-d H:i:s');
"SELECT * FROM mytable WHERE date='$date'";