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

Suggestions for Functional module
Hello experts,
I Have done B.Sc(Mathematics) and MCA & have learnt SAP/ABAP but do n

ldap connection
We are using ldap to get user information from the domain controller. It was working before. Recentl

Help with file_get_html
The following code gives the expected results:

<html>
<head&g

unserialize help, getting errors
hi all ,
I got a form with 6 fields (2 input and 4 select box), when the page loads one block is

Login Issue's
Code: <?php
$file = fopen('user.txt', 'r');

/* Set login to false initially */

php global variable
how can we create global variable so we can use its value in any form.. Please give example to

this code is strange !
Hi i got this code from the web.. It checks for live and dead socks
It is working perfectly on my

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

Example:
Code: [Select]

SAP Project Module
I have seen in the SAP Project Module,plan cost and budget are not equal and even difference is sign

Export hangs
Hi all, please help

I have a Oracle 10.2.0.3.0 database. When I want to query the dba_segmen

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