Ahh, I see. The functions I was trying to use are from PECL sqlite. The
PDO class works perfectly.
Once again, thanks a million. As you can see, just getting started with
sqlite... :)
Cheers,
Andrew
On 01/28/2011 04:44 PM, Rahul Sundaram wrote:
On 01/29/2011 03:08 AM, Andrew Dietz wrote:
> Thanks guys, I do have php-pdo installed, but there must be something
> else still missing.
>
> I have a snippet of test code that calls sqlite_open and sqlite_query
> functions, and they throw errors:
>
> PHP Fatal error: Call to undefined function sqlite_open() in
> /var/www/html/test/sqlite.php on line 2
> PHP Fatal error: Call to undefined function sqlite_query() in
> /var/www/html/test/sqlite.php on line 3
>
> Again, thanks for the help this far.
Can't debug without the test code. Try this
http://www.phpro.org/tutorials/Introduction-to-PHP-PDO.html#4.2
Rahul