implementing add_query_arg in php