Single page website | via URL
Posted: Sun Nov 22, 2009 7:49 pm
Hi,
Im very new to PHP. Trying to divy up a simple 1 page website structure.
So far I have the following:
I understand this. Now how do I setup the links to open the associated pages (enter.php, list.php) ?
Thanks!
wulfgarpro.
Im very new to PHP. Trying to divy up a simple 1 page website structure.
So far I have the following:
Code: Select all
<html>
<head><title>MDI Assets</title></head>
<body>
<?php
if(isset($_GET['enter'])) {
echo "Page 1";
}
else if (isset($_GET['list'])) {
echo "Page 2";
}
</body>
</html>
Thanks!
wulfgarpro.