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

session variable problem
Session variable is not working in Fire fox i am getting null value but it is working fine in IE.

Auto fill in input value based on User_ID
Hello,

I'm looking form some input on the following problem.

User loads page ->

Need help to modify php ELSE code
I'm trying to find a way to have the php code display a message if there is no inventory listed in t

Typing math
I've added support for typesetting math using LaTeX on the forums.

Example:
Code: [Select]

help, header() is not working!
Hello, I have this code:


<?php

/**
* @author samoi
* @copyright 200

Check Digits and extracting digits
I think I can figure out the code for this but I am having a very hard time getting past the first s

Weird MySQL error, why am I recieving this?
PHP Code:


<?php require "global_settings.php"; ?>
<titl

need help with mail()
hi i want to send an email with attaching pdf file using php. i have the following script but the pr

array ...
hi
Code: function formatCategories($categories, $parentId)
{
// $navCat stores all child

How a counter of users ? such as ---> (231 Viewing)
I want to count how many users are actually viewing the page, How is that possible?
Thank you guy

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