How to get query error code whit $wpdb
Is there any way to get, after a query error such as “duplicate key” etc, the error code ( not string ) using the global variable
For example, the error code for
Duplicate entry 'x' for key yis 1062: this is the number i need.
- The topic ‘How to get query error code whit $wpdb’ is closed to new replies.