Hi all, i have a prob with my code. I'm trying to create a system so i dont need frames, but i have to edit only one document!
The code:
<body bgcolor="#CCFF00">
<?php
if (!isset ($_GET['page'])) {
$page = "main.php";
} else {
if ($_GET['page'] == "nieuws") {
$page == "main.php";
}
}
?>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td height="146" colspan="2"><?php include('header.php'); ?></td>
</tr>
<tr>
<td width="186" valign="top"><?php include('menu.php'); ?></td>
<td valign="top"><?php include ($page); ?></td>
</tr>
</table><?php include ('lower.php'); ?>
Link: <a href="index.php?page=nieuws>
The problem:
When i click on the link, the mainFrame (😛) (main.php) doesnt show. He doesn't include any document.
Who can help me??