Quick question on PHP and HTML rules. Is the code below valid? I want to use php in the head section and body or a website i'm building but i dont want to add extra work for myself.
<html>
<title>HTML with PHP</title>
<body>
<h1>My Example</h1>
<?php
include config.php
$here=$_GET['city'];
?>
<b>Here is some more HTML</b>
<?php
echo $here;
?>
</body>
</html>