added php query and sql