How to fetch data from the mysql database with querstring???