andihong
Member level 1
i have a code for arduino that need a string with variable to redirect the value to mysql
here the example of code.
int input = sht1x.readTemperatureC();
i want to get the variable inside the string on HttpPost.
here the code
httpPOST("http:xxx.com", 80, "/tes.php", "(i want to get it inside here)", msg, 50);
the code doesn't work, is there any way to convert it ?
here the example of code.
int input = sht1x.readTemperatureC();
i want to get the variable inside the string on HttpPost.
here the code
httpPOST("http:xxx.com", 80, "/tes.php", "(i want to get it inside here)", msg, 50);
Code:
httpPOST("http:xxx.com", 80, "/tes.php", "input="+input+"", msg, 50);
the code doesn't work, is there any way to convert it ?
Last edited by a moderator: