Support last update date #20

This commit is contained in:
ken_fallon committed 2026-09-26 15:40:28 +02:00
1 parent 733e741929
commit 01ec497f9f
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ if ( $action === 'publish' ) {
}
$query_add = "INSERT INTO comments (eps_id,comment_timestamp,comment_author_name,comment_title,comment_text) VALUES ( '{$ep_num}', '{$comment_timestamp_db}', '{$comment_author_name}', '{$comment_title}', '{$comment_text}');UPDATE last_update SET last_udate_timestamp = CURRENT_TIMESTAMP;";
$query_add = "INSERT INTO comments (eps_id,comment_timestamp,comment_author_name,comment_title,comment_text) VALUES ( '{$ep_num}', '{$comment_timestamp_db}', '{$comment_author_name}', '{$comment_title}', '{$comment_text}')";
$result = mysqli_query($connection, $query_add );
if(!$result) {