Monday, 12 August 2013

Novice: Sqlite from php

Novice: Sqlite from php

I am completely new to php and wish to read data from a sqlite database.
I have got the hello world to work correctly but the following two scripts
failed to execute without an error:
<?php echo sqlite_libversion(); ?>
<?php print_r(SQLite3::version()); ?>
The first script gives the error:
Fatal error: Call to undefined function sqlite_libversion()
The server on which I have my website has the following php configuration.
http://php.binerorockar.se/
Do I have sqlite3 support, if not what verson do I have support for. How
can I test that I have any sqlite support via php?

No comments:

Post a Comment