ok ive made an admin panel with a links when you click a link it adds a variable like so: page="editcontent" this go to admin_page.php:
<?php
$pagetoload = $_REQUEST['page'];
if($pagetoload == "newcontent")
{
$page = include"admin_content_editor.php";
}
elseif($pagetoload == "contentlist")
{
$page = include"admin_content_list.php";
}
elseif($pagetoload == "menulist")
{
$page = include"admin_menu_list.php";
}
elseif($pagetoload == "menuedit")
{
$page = include"admin_menu_edit.php";
}
echo $page;
?>
this is what tell server which page to display
but when it brings the page back to the browser i get a misterious number one sitting at the bottom of my tables?
see here:
http://www.global-european.com/myphpwcms/Admin/Admin_main.php?page=newcontent