I know that you can use line breaks in PHP by using the \n switch - but it only works when use in conjunction within a string in quotations....right?
Then there is the option to break out of PHP back into HTML and do a <br>, but when I try to do that, I get parse errors. Right now, I'm doing excercises in a Learn PHP book and I have written the following script. I simply want line breaks between the variable outputs in the browser - how would I accomplish this??
<?php
$var1 = 3.45;
print gettype($var1);
print $var1;
$var2 = 3;
print gettype($var2);
print $var2;
$var3 = "Activity";
print gettype($var3);
print $var3;
?>
Thanks.