<?php
$name = $_SESSION['name'];
$memid = $_SESSION['id'];
if($memid>0)
{
echo "welcome $name";
}
else{
//login link or form here
}
if(isset($_REQUEST['whoname]))
{
//member profile info here
if(isloggedin()==true)
{
///only login member can see what here
}
//more profile here
}
?>
i am think may be this example above will work for me or What do you think?
$name = $_SESSION['name'];
$memid = $_SESSION['id'];
if($memid>0)
{
echo "welcome $name";
}
else{
//login link or form here
}
if(isset($_REQUEST['whoname]))
{
//member profile info here
if(isloggedin()==true)
{
///only login member can see what here
}
//more profile here
}
?>
i am think may be this example above will work for me or What do you think?
Comment