'; $sql = "INSERT INTO table (title) VALUES(".$db->escape($title).")"; echo $sql; echo '
'; $sql = "INSERT INTO table (title) VALUES('".$db->escapeString($title)."')"; echo $sql; echo ''; $search = '20% raise'; $sql = "SELECT id FROM table WHERE column LIKE '%" . $db->escapeLikeString($search)."%' ESCAPE '!'"; echo $sql; echo ''; } }