Timeline for Insert Array in Plugin Database
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 11, 2014 at 7:01 | history | edited | Pieter Goosen | CC BY-SA 3.0 |
added 8 characters in body
|
Dec 18, 2013 at 7:33 | comment | added | Subharanjan | let us continue this discussion in chat | |
Dec 18, 2013 at 7:32 | comment | added | Subharanjan | Can you please paste your whole code and the complete error string it is showing here ? Edit you question and add more info. | |
Dec 18, 2013 at 7:28 | comment | added | Jack Torris | i am getting following error: Warning: mysql_real_escape_string() expects parameter 1 to be string, array | |
Dec 18, 2013 at 7:27 | comment | added | Subharanjan | Read here regarding all the methods provided in $wpdb Run any database query --- & --- Accept if it did solve. | |
Dec 18, 2013 at 7:05 | comment | added | Jack Torris | thanks, what other ways we can insert the data in database? i check we can insert using prepare as well which is more easy because there will be large data later. | |
Dec 18, 2013 at 6:59 | comment | added | Subharanjan | Yes, you should.. as that type of data you are inserting and the table's column data type should match. Insert Rows | |
Dec 18, 2013 at 6:57 | comment | added | Jack Torris | is it necessary to write: array('%s', '%s', '%s', '%s','%s', '%s','%s', '%s', '%s') ? | |
Dec 18, 2013 at 6:47 | history | answered | Subharanjan | CC BY-SA 3.0 |