Answered! Create a PHP script that prints the values of an integer, floating point, and string variable within some HTML. Click…

Create a PHP script that prints the values of an integer, floating point, and string variable within some HTML. Click on the assignment title to submit your work as a file attachment. Attach the PHP files and any instructions or passwords that might be needed to test your work.

Expert Answer

 $int_var = 2;

$float_var = 3.2111200;
$string_var = “Hi how are you?”;

echo “Integer variable $int_var<br>”;
echo “Float variable $float_var<br>”;
echo “String variable $string_var<br>”;

OUTPUT:-

Still stressed from student homework?
Get quality assistance from academic writers!