I'm building my first web application(i mean first huge web application)using php but i have some questions about admin section.what are the ways for making admin i mean i thought i could make it this way: First make an array:
$pages = array('post' => 'posts.php', 'category' => 'categories.php');
Ve o dizide eğer var kontrol olsun okuyun:
if($pages[$_GET['location']])
include "$pages[$_GET[location]]";
is this a good way? are there any other ways? and i was about to forget this one what are admin page html tags and headers?