problems with database Full update
-
I have a problem with update data in WordPress Data base. I get fetch request, that got me 2,4Mb information, but when i try to push it into custom table by function:
add_action( 'wp_ajax_updateDB', 'updateDataBase' ); function updateDataBase(){ global $wpdb; $table_name = $wpdb->get_blog_prefix() . 'sports_viewer'; $wpdb->update( $table_name, array( 'json' => $_POST['text'], 'object_last_modified' => current_time( 'mysql' ), ), array('id' => 1), array('%s'), ); wp_die(); }
It’s pushing only 16kB of information. I can’t find fow to fix it.
*cell’json’ has type –MEDIUMTEXT
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘problems with database Full update’ is closed to new replies.