What’s wrong in my PHP code? I’m using WordPress Astra Theme and I can’t insert data into my SQL
First, you don’t need connection info when using the global $wpdb. It’s already connected. Second, if your insert is failing, then the first thing to check would be your data format. If you don’t specify a format, then it is handled as a string. See the docs for WPDB::insert: An array of formats to be … Read more