php - $wpdb->insert not working, last_query doesn't show insert "SHOW FULL COLUMNS FROM" -


i run $wpdb->insert($table, $data) data array column_name => value , insert not working. tried $wpdb->last_query , bizarre comes back:

show full columns `table_im_trying_to_insert` 

why last query not insert?

i found problem. apparently new wp update if try insert varchar column , column length less trying insert won't work. prior update insert trim off excess characters.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -