Question
I want to add a custom fields ("introduction" and "ensavoirplus") to search of Wordpress, but the SQL code is not exact. I don't understand if i do a mistake or if WP don't can do this. But my attempt fail... I don't know why because I do exactly what the codex says. This is my code :
0
, , , ecaLdipS 2 years 0 Answers 75 views

Question
I have a shortcode in my WordPress page with which I access the WordPress database with wpdb. It works perfectly with wpdb-> get_results () and wpdb-> query (), but I am not able to execute an insert with a blob data. With wpdb:: insert I can't as it only accepts a string, int
0
, , alvaroqm 2 years 0 Answers 74 views

Question
I'm not crazy familiar with WPDB or SQL in general but I have a custom table for my project and I'm trying to assign some metadata to it. What I'd "like" to happen is if a row exists, update it and if not insert it. I've read both Insert and Update in the WPDB Codex but neither really went into a
0
, , Howdy_McGee 2 years 0 Answers 76 views