Read a SQLite database in PHP? (made using sencha touch sqlite)
===

I have an SQLite database made using the SQLite port in Sencha Touch ([here](https://github.com/tomalex0/SenchaTouch-v2-SqliteProxy)) and the database name is "cars" without the quotes and the table inside it is called "cars_table" without the quotes.

I am able to read/write/update the SQLite table perfectly fine in javascript and when I look at the "Cookies/Local Storage" page on google chrome I see that I have the database under my domain set with the correct database name.

I am however completely unable to read it or write to it from PHP. I have PHP 5.3 and when checking phpinfo() I have SQLite ready to go.

Any ideas?

My basic PHP code is just:

    $dbhandle = sqlite_open('cars');
    $query = sqlite_query($dbhandle, 'SELECT * FROM cars_table');
    $rows = sqlite_num_rows($query);
    echo $rows;