jarv
07-19-2008, 04:15 PM
is my code ok?!
if ($_SESSION["RSUSER"] = "admin");
{
echo "<a href=\"edit.php?PUBID=$PUBID\" class=\"small\">edit this pub</a>";
}
I want to only show the edit link if Admin is logged in!
can anyone help me please???
if ($_SESSION["RSUSER"] = "admin");
{
echo "<a href=\"edit.php?PUBID=$PUBID\" class=\"small\">edit this pub</a>";
}
I want to only show the edit link if Admin is logged in!
can anyone help me please???