Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

pdo example

<?php

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

$pdo = new PDO($dsn, $user, $passwd);

Source by zetcode.com #
 
PREVIOUS NEXT
Tagged: #pdo
ADD COMMENT
Topic
Name
3+1 =