0
我測試了錯誤,並計算了這一點:!
我有這個樣本的獨特價值「QWE @#$%^ & *()_ +「(w/o quotes)爲$_REQUEST
以使用Select查詢顯示的其他頁面。
我試過mysql_escape_string
和mysql_real_escape_string
但它不工作。
我測試了錯誤,並計算了這一點:!
我有這個樣本的獨特價值「QWE @#$%^ & *()_ +「(w/o quotes)爲$_REQUEST
以使用Select查詢顯示的其他頁面。
我試過mysql_escape_string
和mysql_real_escape_string
但它不工作。
您可以使用urlencode()
這裏我意見提出您:
$yourURL = "url with special characters...";
$yourURL = urlencode($yourURL); // encoded url
檢查:url_encode( 'URL'); – devpro
請顯示您的查詢是如何構建和執行的。 –
@devpro謝謝!你真的是一個親! –