Support » Plugins and Hacks » Drop Table strange error

  • Hello, I use this code to drop a table :

    if ($wpdb->query(" DROP TABLE$table_name` “)) {
    $message.=’

  • table ‘.$table_name.’ dropped successfully.
  • ‘;
    } else {
    $message.=’

  • problem while dropping table ‘.$table_name.’.
  • ‘;
    }`

    The script IS correctly dropping the table; but show the incorrect message (‘problem while dropping table….’), do you know why ?

    Also, is it possible to make a request to directly disable the plugin from my plugin page ?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Drop Table strange error’ is closed to new replies.