mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-12-25 01:53:48 +01:00
13 lines
268 B
PHP
13 lines
268 B
PHP
<?php
|
|
|
|
$database = "doodle3d_connect";
|
|
$dsn = "mysql:host=localhost;dbname=$database";
|
|
$username = "root";
|
|
$password = "mysql";
|
|
$table = "signins";
|
|
|
|
$db = new PDO($dsn, $username, $password);
|
|
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
|
|
|
?>
|