Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. $dbh = new PDO ("mysql:host=localhost;dbname=$dbn;charset=UTF8", $user,$pass);
  2. $drop = $dbh->exec("ALTER TABLE test DROP COLUMN test");
  3. var_dump($drop); //bool(false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement