SyntaxFix
Write A Post
Hire A Developer
Questions
My suggestion would be
$value = $_POST["myfield"]; $Query = Database::Prepare("SELECT * FROM TABLE WHERE MYFIELD LIKE ?"); $Query->Execute(array("%".$value."%"));