私のコード:
function sendMessage($client, $owner, $topic, $message, $send, $alliance, $player, $coor, $report) {
$time = time();
$q = "INSERT INTO " . TB_PREFIX . "mdata values (0,$client,$owner,'$topic',\"$message\",0,0,$send,$time,0,0,$alliance,$player,$coor,$report)";
return mysql_query($q, $this->connection);
}
メッセージを書くときは問題ありません。しかし、私がmysqlにこれを送信する場合->'これに変換->/'
'-> /'
それを解決するためのコードが必要です。助けてください。