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

Open/Close Links in Php
Hello, Hoping someone can inform me how I can get PHP to automatically open a set of links in a new

Php If in MySql query (hiding labels if a field is empty)
Okay, I've been trying to do this for a while, and I'm finally going to ask for help so I can get th

email CODING Problem
Email coding problem.

I need to send a section of the info to $tf and the same as a Cc to $em

Help on code output
My CODE:

Code: [Select] echo "<phone>".$line["phone"].&qu

sql problems
I am having a small problem with my sql statement. it is inserting into 4 of the fields.

fie

Image loading
Hi Developers,

I'm trying to display an image from images/image.gif getting the url from mysq

Remove values in array2 from array1
I have two arrays.

Array 1 is where the array key holds various different numbers. For exampl

array_combine() error
getting an "Warning: array_combine() [function.array-combine]: Both parameters should have an e

C++ Http request?
Code: string Response = "LOGIN_UNSUCCESSFUL"; System.Net.WebRequest request = Sy

PHP doesn't send my mail
Hi all, I found this and used it to send mail. Simple contact form with some required fields. The va

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