2

データベースにコメントを保存し、タイムスタンプも保存する MySQL クエリがあります。別のタイム ゾーン設定でタイムスタンプを保存したい場合は、次のクエリを使用できます。

INSERT INTO tahminler 
(comment, comment_text, match_id, user_id, timestamp) 
VALUES ('$comment','$comment_text', $id, $user_id, now())
4

3 に答える 3