Timeline for How to populate custom tables with rows of data
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 22, 2014 at 21:08 | vote | accept | CommunityBot | ||
Jan 22, 2014 at 21:06 | history | edited | user28566 | CC BY-SA 3.0 |
deleted 68 characters in body
|
S Jan 22, 2014 at 21:06 | history | bounty ended | CommunityBot | ||
S Jan 22, 2014 at 21:06 | history | notice removed | user28566 | ||
Jan 22, 2014 at 21:04 | vote | accept | CommunityBot | ||
Jan 22, 2014 at 21:05 | |||||
Jan 22, 2014 at 20:36 | history | edited | user28566 | CC BY-SA 3.0 |
added 68 characters in body
|
Jan 21, 2014 at 19:04 | answer | added | Kay van Bree | timeline score: 1 | |
Jan 21, 2014 at 17:50 | comment | added | birgire |
I think you are mixing things together. You use dbDelta( $sql ) to create the table and $wpdb->insert( $table, $data, $format ); to insert the data (more here). You don't take the output from $wpdb->insert() into dbDelta() . Check it out and report back.
|
|
Jan 21, 2014 at 17:02 | comment | added | user28566 |
@sri The only message I get is on the plugin page, The plugin generated 765 characters of unexpected output during activation. I don't get anything on the actual plugin page . Thanks.
|
|
Jan 21, 2014 at 16:45 | history | edited | user28566 | CC BY-SA 3.0 |
added 70 characters in body
|
Jan 21, 2014 at 15:16 | comment | added | sri |
If you set WP_DEBUG to true in wp-config.php file, what do you notice when you activate the plugin? Also are you really providing table structure for dbDelta function?
|
|
S Jan 21, 2014 at 14:53 | history | bounty started | CommunityBot | ||
S Jan 21, 2014 at 14:53 | history | notice added | user28566 | Authoritative reference needed | |
Jan 10, 2014 at 18:10 | history | asked | user28566 | CC BY-SA 3.0 |