Files
RobinNixon 3bc0bb7409 Final
Final
2020-12-10 13:51:38 +00:00

21 lines
488 B
PHP

<?php // Example 04: index.php
session_start();
require_once 'header.php';
echo "<div class='center'>Welcome to Robin's Nest,";
if ($loggedin) echo " $user, you are logged in";
else echo ' please sign up or log in';
echo <<<_END
</div><br>
</div>
<div data-role="footer">
<h4>Web App from <i><a href='https://github.com/RobinNixon/lpmj6'
target='_blank'>Learning PHP MySQL & JavaScript</a></i></h4>
</div>
</body>
</html>
_END;
?>