admin with my register system?


Posted on 16th Feb 2014 07:03 pm by admin

Hey i wana make it so i can make a admin level on my register system , I'm kinda new to php to im not sure how, i wana do something like a 'if' statment so when they click the page if the admin level in there user row in the sql table it lets them on the page, So like how would i do that what format would i create the field in the sql like text, number, var, varchar etc i dont know what and how could i do a if statment for if there level 1?
No comments posted yet

Your Answer:

Login to answer
244 Like 12 Dislike
Previous forums Next forums
Other forums

empty() error
Why does

Code: empty($USER_ID = $_SESSION["USER_ID"])
create this error...

Links not updating
I'm trying to fuel a simple navigation system for a news section. It works fine when it comes to ret

Problems with adding a link to one position in a 'foreach' loop, please help
Hello!

Iam pretty new to programming and I wanna create a table with users from an array. It

Need help with basic sql
Hi,

I am using oracle 10g, and having some small doubts related to sql , here goes the si

Problem!
I have another problem, when i run this code i get this error "Parse error: syntax error, unexp

What's best way to get a user's Word doc converted to simple html and images?
Hi all,

I was just wondering if anybody has any experience of this.
Basically, I'm buildin

values not being entered into table
hi. I;ve created a form, so that when a user enters data into it, it gets added to a table in a data

Upload simple problem
Really confused!! I run once and it worked, but when i tried today...it didn't work

Which par

Linked Keywords
I am trying to get a script that makes my predefined keyword converted to links and / or converted t

Checkbox info wont include in Mailto
Hey, im new to php.
Basically I have made a form to request which type of job(s) are needed, whic

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash