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.
SQLクエリを作成した後 、月の名前をOctober(英語)から(デンマーク語)に変更するにはどうすればよいですか。Oktober
October
Oktober
クエリ: SELECT id, name, date_format(timestamp, '%M %e, %Y %l:%i %p') real_timestamp FROM comments WHERE active='yes'
SELECT id, name, date_format(timestamp, '%M %e, %Y %l:%i %p') real_timestamp FROM comments WHERE active='yes'
単にstr_replace関数 を使用する
str_replace
$result = str_replace("October", "Oktober", $result);
str_replaceを参照してください