This is my user table
CREATE TABLE `users` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`firstname` VARCHAR(255) NOT NULL,
`lastname` VARCHAR(255) NOT NULL,
`email` VARCHAR(255) NOT NULL,
`username` VARCHAR(255) NOT NULL,
`password` VARCHAR(100) NOT NULL,
`level` ENUM('0','1') NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
So lets say I am on index.php
I want that if user level = 1, then he can see a link appear on the page. Other wise if level = 0, he will never see that link.
How can I do that?