Hello World!";
?>
Body temperature is $body_temp degree Fahrenheit";
// now, assign a new value to the variable
$body_temp = 37.0;
// display the new variable substitied in a mixed string
echo " ( $body_temp degrees Celsius )";
$str1 = "If you are \"happy\" and you 'know' it ... "; // use "escape" character (\) for quote inside qoute
$str2 = "clap your hand!";
$str = $str1 . $str2;
echo $str."
";
print "body_temp is " . $body_temp .'
';
print("body_temp is " . $body_temp .'
');
printf("body_temp is " . $body_temp .'
');
printf("body_temp is %5.3f" , $body_temp , '
');
?>