Hi
i looking and searching, but i can't find anwser ![]()
i try to program Arduino to generate GET request to my apache with multiple variable in one get
i have 10 temp sensor
float temp[9]
and i use (now i use POST, but have same problem with GET)
client.println("POST/add.php HTTP/1.1");
client.println("Host: 192.168.1.31");
client.println("Content-Type: application/x-www-form-urlencoded");
client.print("Content-Length: ");
client.println(data.length());
client.println();
client.print(data);
to send data with all temp value to php that add it to mysql
so i need some like this
data = "?temp0=temp[0]&temp1=temp[1]&...."
how i can merge char/String with int/float ??
data = "?temp0=".temp[0]."&temp1=".temp[1].... ??