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 1 year 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 1 year 0 Answers 76 views