Dear All,
I have these 2 scripts.
a) it opens the session for the particular log in user
if(!session_is_registered($acc_name)){
header(“location:myprofile.php”);
}
b) is the file that is being called by a)
In that myprofile.php the variable $acc_name is not visible.
<?php
$name1 = $_POST[’$acc_name’];
echo $name1;
?>
I’m getting the following error
Undefined index: $acc_name
Please assist.
Thanks & Regards,
Micky