I can't find a good php class for sqlite , so I did it .