StringBuffer buffer=new StringBuffer("http://stage.realtylog.net/iPhone/functions.php"); buffer.append("?username="+URLEncoder.encode("xxxxxxx")); buffer.append("&id="+URLEncoder.encode("xxxxxxxx")); buffer.append("act="+URLEncoder.encode("readFileAndPrint")); webView.loadUrl(buffer.toString());