Good day, I have a php code that has a $_POST['Query'] function, i want to add it with $_POST['Tags'] but how can I pass 2 variables in android using to php, I had pass the a value to a $_POST['Query'] with my code but how can I pass the second one ?
OutputStream os = con.getOutputStream();
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(os, "UTF-8"));
String data = URLEncoder.encode("Query", "UTF-8")+"="+URLEncoder.encode(query,"UTF-8");
bw.write(data);
bw.flush();
con.connect();
bw.close();
os.close();