In the PHP script, there are $_GET and $_POST variables that contain the data passed to the script, depending on the method used to to activate the script.
The $_GET variables are name/value pairs. The value is obtained from the name:
$val = $_GET['celcius'];
It is the value ($val) that you want to store in the database.