PHP logout
Posted: Tue May 25, 2004 10:26 pm
Hi all,
I need some help here. I have a page with control panel at side template and their function at main template.There is a Logoff at the side template.What I want is, when I cklick Logoff, the page will link to Login page. But the problem i have is when i click the Logoff, the side template is there and only main template show the Login page.Below is my code for Logoff text:-
Can anyone help me with this.I need when i click the logoff, all page will go to Login page.
Thank you in advance.
Regards,
Alfy
I need some help here. I have a page with control panel at side template and their function at main template.There is a Logoff at the side template.What I want is, when I cklick Logoff, the page will link to Login page. But the problem i have is when i click the Logoff, the side template is there and only main template show the Login page.Below is my code for Logoff text:-
Code: Select all
if (preg_match("/@6/",$this->user_level)) {
options .="<tr>
<td bgcolor="#008080"><font size="2">
<a href="admin.php">Logout</a></font></td>
</tr>";
}Thank you in advance.
Regards,
Alfy