Ugh, don't construct queries by hand. You're not escaping any of the parameters, so your URL could be broken. Leave this to a library.