[snip] > hi > i am getting the following error when i try to run my > php program..i want to know wht is this error in > general.... > > Warning: sqlite_query(): attempt to write a readonly > database in /home/saravall/.HTML/inv.php on line 26 > error:attempt to write a readonly database > [snip] Looks like you are connecting to the database with a userid that has only read authority. I don't use sqlite so can't help with the specifics, but I would check that first. HTH Graham -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php