<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

$host 	= "localhost";
$db	= "wordpress";
$user	= "root";
$pass	= "";

$conn = new PDO("mysql:host=$host;dbname=$db",$user,$pass);

//$sql = "SELECT * FROM books";
//$q	 = $conn->query($sql) or die("failed!");
//while($r = $q->fetch(PDO::FETCH_ASSOC)){
//  echo $r['title'];
//}


?>
