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

IMAGE - SERVER SIDE scripting help...
How to receive pixel data of an image and buid a bitmap file on the server using the HTTP POST metho

Share admin accross websites
I'm using .net memberships and roles in one of my sites, but I need to be able to share logins and p

Help with Contact Form
I have this Form on an html page and the associated code on page.php (below).
I keep getting the

Socket programming
Hello all,

I have a PHP socket script. GPS trackers connect to this socket. IMEI verification

INSERT for date range
Hi all

I have the following table

Code: [Select] `date` date
`day` int(2)
`

mail with attachment problems
Hi. I have the following code:
Code: else if(file_exists("site".$timp.".zip")

Can I use a loop
Hi buddies!

Once again with my doubts here.

Right now I am using this sql stat

big pagination problem in php
<?php

$connect = mysql_connect("localhost", "root", "")

Slashes
Have a small problem and I'm not able to understand why I'm getting the results I'm getting... and i

Add_Months not Easy to Understand
Oracle is number 1, very fast and very easy. But....
OK, I think but have a problem, only 1 pro

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