Re: [請益] PHP有自動轉換跳脫字元的function嗎
※ 引述《chan15 (ChaN)》之銘言:
: → chan15:他並沒有把\變成/ 05/03 20:27
你確定?...
from http://tw2.php.net/manual/en/function.addslashes.php
Returns a string with backslashes before characters that need to be quoted in
database queries etc. These characters are single quote ('), double quote
("), backslash (\) and NUL (the NULL byte).
--
我是上來領便當的...
逛 php 版, database 版只是順便而已...
http://blog.darkhero.net 個人網誌
http://phorum.study-area.org/index.php/board,31.0.html
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.116.62.60
推
05/04 19:46, , 1F
05/04 19:46, 1F
→
05/04 19:47, , 2F
05/04 19:47, 2F
→
05/04 23:04, , 3F
05/04 23:04, 3F
推
05/05 02:12, , 4F
05/05 02:12, 4F
→
05/05 02:31, , 5F
05/05 02:31, 5F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
PHP 近期熱門文章
PTT數位生活區 即時熱門文章