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

What are the two different files you download to update kernel?
What are the two different files you download to update kernel?

This is driving me nuts!
This insert query looks to be alright, however I get this error:

QuoteYou have an error in yo

how to remove in php string display
My code is

$message="We're looking at developing our website.";

$body= "

Problem in String replace program's output
Hi all,
I was trying to make a program which accepts a string and replaces it with another stri

2 things: enter doesn't work in IE & empty form
i have this search form that works well except for 2 things.

1) on IE when i hit enter instea

help with insert
Hi there,

I am trying to insert some data into a database, but for some reason, it is not ins

Escape Latin Characters
I need to escape latin characters in an xml doc. Example: "é" is escaped to "é". I thoug

Storing Values taken from a DB...
Using this code it will generate a short list from my database

<?php
mysql_connect

Comparing Values
Hi
I'm reading data from a database and this seems to work OK.

Each system has an associat

Form errors in an array
I'm processing a form and putting the errors in an array. empty($errors) doesn't seem to do the tric

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