Posts by Pedro • 1 point
1 post
-
0
votes7
answers3667
viewsA: PDO does not connect to Mysql
That’s how it works. try{ // Faz conexão com banco de daddos $host = ('localhost'); $user = ('root'); $pass = ('root'); $bancodb = ('curso_php'); $conecta = new…