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.
mysqlデータベースの文字を置き換えていますが、$や〜などの文字を置き換えることはできますが、次の記号£を置き換えることができない場合があります。なんで?
$sql[$handle]['sql'] = 'UPDATE '.$table.' SET '.$field.' = REPLACE('.$field.',\''£'\',\''.$replace.'\')';
replace構文'£'でwithを置き換えてみてくださいCHR(156)
'£'
CHR(156)