Posts by GuguiWeb • 1 point
1 post
-
0
votes1
answer148
viewsA: Create database through PDO
$servername = "localhost"; $username = "username"; $password = "password"; try { $conn = new PDO("mysql:host=$servername;dbname=myDB", $username, $password); // set the…