PHP SQL STMT SELECT multiple LIKE ? is it possible?
问题 SELECT * FROM datatable WHERE Name LIKE ? OR Code LIKE ? OR Date LIKE ? OR Inserter LIKE ? AND ID = '2' There is an error in php sql connection: mysqli_stmt::bind_param(): Number of variables doesn't match number of parameters in prepared statement in Here is the error code, I am using stmt->prepare, stmt->execute and so on in php. This works fine with just one LIKE ? (WHERE Name LIKE ? AND ID = '2'). How can I replace or solve this problem? The real code if ($stmt = $db->prepare($SearchQuery