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

Undefined Variable: PHP_SELF, pls help
Hi,

Im a newbie on PHP / MySQL programming and Im running a script to search one field on my

ImageCreate()
When I create an image and add text to it I want my text to be replaced with a PNG image, because th

eregi to preg
Im converting my regex for php 5.3 and I am stuck on the following

Code: [Select]if((eregi(&q

couldn't connect to your database
Hello I am new to php mysql

Actually i have read A tutorial on nettuts
"http://net.tu

phph within href not showing php if change ? to &
Code: [Select]<a href="<?php echo $puser; ?>?m=<?php=(($m-1)&l

Estimations and Effort
HI Gurus,

Would like to know whether SAP have a provision for carrying out the Project es

that old Malformed Headers problem again!!!!! HELP!!!!!!
I've read the http://www.phpfreaks.com/forums/index.php/topic,37442.0.html

I don't think my c

Login Control?!
I have a Web Site that uses the login control also I have set the destinationurl to the page I want

Easy administration on MySQL databases
My website is database driven and I am very tired of manually making queries to my tables in order t

how to configure ADS in ABAP instance
Hi All,

I am working on r/3 4.7 ABAP system.Can we configure ADS(adobe document services)

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