Posts by Denilson • 1 point
1 post
-
0
votes3
answers1602
viewsA: How to add a database column using PDO
$stmt = new PDO("mysql:host={$servername};dbname={$dbname}",$username, $password); $stmt->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $soma = $stmt->query("SELECT…