Timeline for $wpdb->prepare with ON DUPLICATE KEY UPDATE
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 15, 2020 at 8:21 | history | edited | CommunityBot |
Commonmark migration
|
|
May 23, 2017 at 12:40 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Jan 25, 2016 at 8:46 | comment | added | Mayeenul Islam | We better ask a different question, if this one doesn't solve your issue. | |
Jan 25, 2016 at 8:32 | comment | added | trainoasis | so on duplicate key actually won't work with wpdb? For instance I have a query "INSERT INTO my_locations (location_id,address,lat,lng) VALUES (%d,%s,%f,%f) ON DUPLICATE KEY UPDATE address = %s, lat = %f, lng = %f"; and when using prepare() it returns false. Will I really have to rewrite the query somehow? | |
May 6, 2014 at 4:43 | vote | accept | Mayeenul Islam | ||
May 6, 2014 at 4:43 | history | edited | Mayeenul Islam | CC BY-SA 3.0 |
solved
|
Apr 20, 2014 at 9:55 | history | answered | Mayeenul Islam | CC BY-SA 3.0 |