why the current date do not update
From the codex: <?php $wpdb->update( $table, $data, $where, $format = null, $where_format = null ); ?> In your exampe ‘ CURDATE()’ is simply a string, not a MySQL function (or something else). The correct syntax for php’s date() is: date( [format], [timestamp] ) Try this: $this->wpdb->update( ‘wp_competitors’, array( ‘results’ => $tips, // json ‘update_time’ => … Read more