help on how to place variable in httpget

good day profs can you help something related on how to input variable in httpget? this is my code inet.httpGET("", 80, "/web.php?status= (i want to set variable here but i dont know how to do it) ", msg, 250); can you help me guys :)

Post your complete sketch! And other information that may be relevant to your case.

One possibility would be

char *webPhpStatus(int status) {
  static char buffer[23] = "/web.php?status=";
  itoa(status, buffer + 16, 10);
  return buffer;
void setup() {
void loop() {}