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.
你如何在 PHP 中转义哈希符号?
我想做,"DELETE FROM [#8:1]"但要让它发挥作用,我必须做"DELETE FROM [".'#'."8:1]"。虽然它有效,但它看起来有点笨拙,有没有更好的方法来做到这一点?
"DELETE FROM [#8:1]"
"DELETE FROM [".'#'."8:1]"
使用单引号
'DELETE FROM [#8:1]'