php script successfully queries sqlite database and dumps it to web page