0; if ($intHasQuery) { $strQuery = preg_replace("/[^A-Za-z0-9]/", "", $strQuery); $varPosts = $c->query( "SELECT * from posts as p where content like concat('%', ?, '%') order by updated desc", $strQuery); } ?>