Skip to main content

Timeline for dbDelta with the character ;

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
Jan 25, 2019 at 11:51 vote accept J.BizMai
Jan 2, 2019 at 14:03 history edited J.BizMai CC BY-SA 4.0
deleted 1 character in body
Jan 2, 2019 at 13:58 comment added vikrant zilpe yes jacob is always right
Jan 2, 2019 at 13:56 comment added Jacob Peattie Why are you trying to use dbDelta for inserting data? That's not what it's for. It's intended for creating and modifying tabes. To insert data use $wdb->insert().
Jan 2, 2019 at 13:54 answer added J.BizMai timeline score: 0
Jan 2, 2019 at 13:52 comment added vikrant zilpe codex.wordpress.org/Creating_Tables_with_Plugins
Jan 2, 2019 at 13:43 comment added vikrant zilpe please check this code : myfunction(){ global $wpdb; $query_string = "INSERT INTO {$table_name} {$str_column_names} VALUES {$str_values}"; require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); dbDelta( $query_string ); }
Jan 2, 2019 at 13:27 history asked J.BizMai CC BY-SA 4.0