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

help with contest script
I would like to code a contest script to my site but i don't know how. Could someone just give me pu

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

urldecode question
How would I format this line of code properly?

<?php echo urldecode($_GET['Title']); ?

Session problem?!?
Hello All! I am very new to the php world but I am working on fixing things that a previous programm

Wierd echo error?
Hi, i got the most wierd php error ever and i don't know why..
Code: echo "<t

Reading Most Recent CSV File in Directory
I thought I had wrapped this project up, but found out that the program I use to FTP a csv file to m

Printing issues with xMII 11.5
For some reason, we have one report (and only one) that is giving us fits when trying to print. The

Dynamic Array using glob?
Is there an easier way to do this?

I am trying to get create a dyamic array based on files wi

preg_match logical error
Code: <?php
$s = file_get_contents("page.html");
preg_match('/<div cla

Searching keywords from array
Hello everyone, Im just wondering if someone could help me with another issue im having. Im still le

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