Advertisement
Guest User

Untitled

a guest
Jan 15th, 2020
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. $connection = new PDO("mysql:host=www.remotemysql.com:3306".";dbname=g1kO1UFCRu", 'g1kO1UFCRu', 'I9R2LtQaHz');
  2. $connection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
  3. $query = $connection->prepare('show tables');
  4. $query->execute();
  5. $result = $query->fetchAll(PDO::FETCH_NUM);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement