ive been following a tutorial to create a blog. ive got most of it all set up but when i log in as an admin the create a new thread doesnt appear.
this is the tutorial page - http://www.devshed.com/c/a/MySQL/Creating-the-Admin-Script-for-a-PHP-MySQL-Blogging-System/
this is the link i am trying to get at:
<? if($_SESSION['level'] == "Admin") {?>
<tr>
<td width="17%"> </td>
<td width="83%"><a href="new_post.php">Create New Thread </a></td>
</tr>
<? }?>
my database table has a field called level and in that field is called Admin but yet i cant seem to see that link.
feel free to try out the website:
http://www.asdesigns.co.uk/LoginScript/register.php
but when you log in and then create a new user and make it an admin from the dropdown menu and then login as that 'admin' it doesnt display the create new thread link.
Thanks for the help in advance