/*** The Links script called adminlinks.php***/
<?session_start();
$action=$_GET['action'] ;
switch ($action) {
case "partner_company":
include ("../admin/addcompany.php?page=partner");
break;
/********** The AddCompanyScript *********/
<?session_start();
if($_SESSION['utype']!='admin')
header("location:login.php");
if(!empty($_GET['page']))
$flag=1;
else $flag=0;
/****** Index2.php***********/
if($_SESSION['utype']=='admin')
{<? include("includes/adminlinks.php") ;?> }
/***********AddPartner Script******/
<?session_start();
if($_SESSION['utype']!='admin')
header("location:login.php");
$value=$_POST['radio_value'];
if($value=="company")
{
header("Location:index2.php?action=partner_company");
}
/**********************/
I know this is a little bit complicated But Here the Storyboard :

i got a table called partners by which the admin can add a partner ..this partner can be an individual or can be a company ..so i made the admin choose before adding whether he wants to add a partner or a partner_company so if the last was the case he should be directed to the addcompany script BUT with a variable called page=partner