Posts by Eric Mendes • 11 points
2 posts
-
0
votes3
answers127
viewsA: How to check if a select is null
Guys, I solved with a simple Else. Check and compare with the previous code: try { $conecta = new PDO("mysql:host=$servidor;dbname=$banco", $usuario, $senha); $consulta =…
-
1
votes3
answers127
viewsQ: How to check if a select is null
Guys, I have this code that pulls info from the server try { $conecta = new PDO("mysql:host=$servidor;dbname=$banco", $usuario, $senha); $consulta = $conecta->prepare('SELECT * FROM…