wcbzero / phpdesktop

Automatically exported from code.google.com/p/phpdesktop
0 stars 0 forks source link

Add sqlite example #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add "test_sqlite.php" example to the www/ directory:

<?php

error_reporting(-1);
include "./pdo.php";
$db_file = "./my_database.sqlite3";
PDO_Connect("sqlite:$db_file");
echo("PDO_Connect(): success! $db_file created");

?>

The "pdo.php" file can be found on the UsingSQLite wiki page.

Original issue reported on code.google.com by czarek.t...@gmail.com on 10 Jun 2013 at 4:37

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 21 Jul 2013 at 6:35

GoogleCodeExporter commented 9 years ago
Example added to phpdesktop-chrome in revision e5d4a03bf285.

Original comment by czarek.t...@gmail.com on 19 Jan 2014 at 7:25