Sending INT to website

Hello, I am trying to figure out how to send an INTEGER to a external webadress (webadress is gonna look something like (http://testarduino123.com/testdisplayinteger). What is the best way to approach this, any advice? I am using Arduino Ethernet Shield ontop of a normal arduino UNO.

I make a web page on the site that accepts the input parameters I want the web site to have. I have the MCU send a request to the web page, all the web page does is take the input parameters and store the parameters into the sites dB.

An example of a web page made to accept an input paramters and store the received info int0 the dB.

<?php
$setPoint = $_GET['setPoint'];
//echo $setPoint;
include 'db_connection.php';
$query = "UPDATE State SET setHumidity =" . $setPoint ;
$result = mysqli_query($con, $query); 
//echo $result ;
mysqli_close($con); 
?>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.