I have a PHP file that reads:
<?php
$myString = "Hello!";
echo $myString;
echo "<h5>I love using PHP!</h5>";
?>
But when viewing the page, it displays: I love using PHP!"; ?>
It is ignoring everything after the </h5> tag. Is there a reason for this?
It is not ignoring everything after the </h5> tag, it doesn't think the close " is the end of the echo.
<?php
$myString = "Hello!";
echo $myString;
echo "<h5>I love using PHP!</h5>";
?>
But when viewing the page, it displays: I love using PHP!"; ?>
It is ignoring everything after the </h5> tag. Is there a reason for this?
It is not ignoring everything after the </h5> tag, it doesn't think the close " is the end of the echo.