Jump to content

Doesn't display ACP link


3raser

Recommended Posts

My code:

 

<?php
		$username = $_SESSION['loggedin'];
		$extract_user_rank = mysql_query("SELECT `rank` FROM users WHERE username='$username'");

		if($extract_user_rank['rank'] > 0)
		{
			echo "<a href='control_panel.php'>Admin Control Panel</a>";
		}
		else
		{
		//return nothing
		}
		?>

 

I have my rank in the database set to 1. Why doesn't it output the ACP link?

Link to comment
https://forums.phpfreaks.com/topic/229802-doesnt-display-acp-link/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.