Answers for "to learn how to use php,pdoand its methodsto connect to the 'college' database,to display results from an sql statementon the web page, to populate a"

PHP
0

pdo example

<?php

$dsn = "mysql:host=localhost;dbname=mydb";
$user = "user12";
$passwd = "12user";

$pdo = new PDO($dsn, $user, $passwd);
Posted by: Guest on September-09-2020

Code answers related to "to learn how to use php,pdoand its methodsto connect to the 'college' database,to display results from an sql statementon the web page, to populate a"

Browse Popular Code Answers by Language