linksdb user

master
Helge 2021-12-29 00:24:58 +01:00
parent 1b342654a5
commit 71c3895e11
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
$pdo = new PDO('mysql:host=localhost;dbname=links', 'root', 'test'); $pdo = new PDO('mysql:host=localhost;dbname=links', 'linksdb', 'linksdb');
$sql = "SELECT * FROM link"; $sql = "SELECT * FROM link";
foreach ($pdo->query($sql) as $row) { foreach ($pdo->query($sql) as $row) {