On Sun, Mar 09, 2008 at 03:51:23PM +0300, Aharon (Rony) Shapira wrote: > I created a simple table named "books" in "library.db". > After entering "select * from books" I saw the data that I put into it. > > When trying to access it through php: > $file = "library.db"; > // open database file > > $handle = sqlite_open($db) or die("Could not open database");
Perhaps try to point full path to database file, then use something like: $handle = sqlite_open("$path$file", 0666, $error) -- pozdrawiam / regards Zbigniew Baniewski _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users