[PHP] pobierz, plaintext <?php try { $pdo = new PDO('mysql:host=localhost;dbname=produkty', 'root', 'root'); echo 'You have been connected'; } catch(PDOException $e) { echo 'Connection failed' . $e->getMessage(); } ?>[PHP] pobierz, plaintext