Active Topics

 


Reply
Thread Tools
bizshop's Avatar
Posts: 98 | Thanked: 8 times | Joined on Apr 2007 @ Port Angeles, WA
#1
I've been struggling,for days now trying to get my browser to run an Sqlite query.

I'M running NGINX as localhost, and have the PHP cli and sqlite3 installed.Works from command line just fine. I need to be able to pull data up into webbrowser using php.

I understand php5 needs to use PDO to do this now, but I am clueless on how to use it and my attempts have been unsuccessful. Without PDO, php uses SQLite 2 , which is not what I need.

Anybody using php,server/browser and sqlite3? I need an example of a connect and a query.

Last edited by bizshop; 2007-10-06 at 08:26. Reason: clarification
 
Posts: 191 | Thanked: 29 times | Joined on Sep 2007 @ Ottawa
#2
You might want to give this a try:
http://php-sqlite3.sourceforge.net/pmwiki/pmwiki.php

Craig...
__________________
N800, Think Outside Kbd, 8GB SDHC Card (OCZ, ext2), and 8GB SD Card (Patriot formatted as VFAT)
Zaurus SL-6000, IR Keyboard, 1GB SD Card
 
bizshop's Avatar
Posts: 98 | Thanked: 8 times | Joined on Apr 2007 @ Port Angeles, WA
#3
The extension looks like the perfect solution, but can't find phpize or php-devel to configure and install it. I tried app manager and also apt-get update...
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:27.