Hello

PR try {
PR   $dbHandle = new PDO('/Users/mymachine/sqlite:'."$user_db");
PR }

How about:

$dbHandle = new PDO('sqlite:/Users/mymachine/'."$user_db");

The sqlite: should be at the beginning of the DSN (Data Source Name), so 
that PDO can recognise the name of the driver to use.

Swithun.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to