I have been trying to do a DELETE statement and i even tried running the query in MySQL workbench and everything was ok but in my service it does't seem to accept it.
$statement_delete = $this->conn->prepare("DELETE FROM crm_suite_tcl.aos_products_quotes where parent_id = ?");
$statement_delete->bind_param("s", $id_pedido);
$statement_delete->execute();
$resultado_borrar_lineas = $statement_delete->get_result();
It throws that the statement is false, so it doesn't let me execute it Fatal error: Call to a member function bind_param() on boolean in
Fatal error: Call to a member function bind_param() on boolean in C:\xampp2\htdocs\crm\service\sync\include\db_handler.php on line 210