1
Colleagues.
I have a table that inside the field Days tail: Monday & Tuesday
But when giving query inside PHP, does not return anything, even if the query is correct:
$sql = mysqli_query($con,"SELECT * FROM semana WHERE Dias = 'Segundas & Terças'");
When we play directly within Mysql, it returns the result, but not within PHP. I believe the problem is in & Personally I’ve never been there. Someone would know how to fix?
$days = "Mondays & Tuesdays"; mysqli_query($con,"SELECT * FROM week WHERE Days = '".$days."'"); try this way
– Sr. André Baill
Which
charset
of DB?– Papa Charlie