Connect Arduino and phpMyadmin

$temp1 = floatval ('temp1');
$temp1 = $_GET['temp1'];

What is that first statement doing? The string 'temp1' is not a representation of a float value. Why are you calling floatval(), anyway, when you are going to step on $temp1 in the next line, anyway?