PHP fixes and optimization
This commit is contained in:
parent
89f3f87649
commit
b1252955d6
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
echo '<!DOCTYPE html>';
|
echo "<!DOCTYPE html>\n";
|
||||||
echo '<html lang="en">';
|
echo "<html lang=\"en\">\n";
|
||||||
echo '<!-- This is a simple PHP template -->';
|
echo "<!-- This is a simple PHP template -->\n";
|
||||||
// This section could also use <?= syntax, but for example's sake, will not.
|
// This section could also use <?= syntax, but for example's sake, will not.
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
<body>
|
<body>
|
||||||
<h1>Hello world!</h1>
|
<h1>Hello world!</h1>
|
||||||
|
|
||||||
<p><?= "This page was rendered on " . date("Y-m-d") ?></p>
|
<p>This page was rendered on <?= date("Y-m-d") ?></p>
|
||||||
|
|
||||||
<pre><?php
|
<pre><?php
|
||||||
$pairs = [
|
$pairs = [
|
||||||
|
|
Loading…
Reference in New Issue