change to {query} fill in php