Doing wordpress plugin development, I am creating a table (while installing the plugin) with the following string:
$sql = "CREATE TABLE (query skipped)..."; /*someting*/
The problem is there is some error with this query and and I want to see the output of $sql using php.
How to do this? Any help
Read more here: See output of a sql query while plugin installation in wordpress