Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

database connection in pdo php

$connect = new PDO("mysql:host=$host;dbname=$db", $user, $pass, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #database #connection #pdo #php
ADD COMMENT
Topic
Name
5+1 =