Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么在运行以下代码时出现此错误。我在此处粘贴部分代码。与数据库的连接已成功建立。
查询失败:错误:“s”第 1 行或附近的语法错误
利用pg_escape_string
pg_escape_string
$product_name = pg_escape_string($product_name);