$_SERVER['PHP_SELF']; Help.
Posted: Sun May 06, 2007 10:40 pm
I've got the basics of it.
But when I click the link of like Account Management, it puts it ontop and pushes the rest of the page down..
E.G. http://finalstory.ath.cx/acc/index.php its what im working on. Anyways please help or tell me what I gotta do
E.G. of what happens
______________________________
|
|----------- New Page Push Down |
|------------------- \/
|---------------- Banner |
|
|
|
But when I click the link of like Account Management, it puts it ontop and pushes the rest of the page down..
E.G. http://finalstory.ath.cx/acc/index.php its what im working on. Anyways please help or tell me what I gotta do
E.G. of what happens
______________________________
|
|----------- New Page Push Down |
|------------------- \/
|---------------- Banner |
|
|
|
Code: Select all
<?php
// set variable page & mehthod of calling
$n = $_GET['n'];
switch ($n) {
case 'account/manage':
echo "<div align=\'center\'>";
include('account.management.php');
echo "</div>";
break;
case 'two':
echo "page 2";
break;
}
?>Code: Select all
<?PHP
include_once('menu.php');
?>
<html>
<head>
<title>
Main Page
</title>
</head>
<body bgcolor='#000000' text='white'>
<br><br><br><br><br><br>
<center><h2>Abomination's Mangos ACC Creator</h2></center>
<table align='left' border='0' cellpadding='2' width='150'>
<tr>
<td style='border: 2px dotted #CBA300;' align='center'>
<a href='<?php echo$_SERVER['PHP_SELF'];?>?n=account/manage'>Account Management</a>
</td></tr>
<tr>
<td style='border: 2px dotted #CBA300;' align='center'>
<a href='<?PHP echo$_SERVER['PHP_SELF'];?>?n=account/create'>Create Account</a>
</td></tr>