我在 PHP 中有这段代码:
$_pagi_sql='SELECT * FROM programas WHERE MATCH(titulo, texto,pais) AGAINST ('"$criterio"' IN BOOLEAN MODE) AND operador=34 And validez >= NOW()';
我想把这个字符串完全放在变量 $_pagi_sql 中:
SELECT * FROM programas WHERE MATCH(titulo, texto,pais) AGAINST ('"STH"' IN BOOLEAN MODE) AND operador=34 And validez >= NOW()
但是双引号未正确存储在变量 $_pagi_sql 中
怎么做到呢?