Hi I've wrote a plugin it works but on deactivation it doesn't drop the plugin tables from db
this is the code
$sql = "DROP TABLE IF_EXISTS 'TABLENAME'"; $wpdb->query($sql); //$e = $wpdb->query($sql); //die(var_dump($e));
and i call that function this way
if i uncomment to show message error it tells me on deativation
whiy doesn't it drop the table?? could you help me to fix it??