<?php
/*
This code is used to see the available drivers
foreach(PDO::getAvailableDrivers() as $driver)
{
echo $driver.'<br />';
}
*/
try
{
$dbh = new PDO("sqlite:db/todolist1.db");
}
catch(PDOException $e)
{
echo $e->getMessage();
}
?>
My Web Design & Development
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.