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

Strange php code found on my website
I got hacked and the following code was placed within my files:

Code: [Select]<?
/*

php wont update my db
hello,

sorry for posting in mysql forum but i dont know where exactly is the problem but here

file downloaded can't be read !!
<?php
$fileName = 'mypic.jpg';
$mimeType = 'image/jpeg';
header('content-dispositio

MySQL issue
I am taking sentences through a form on page. Then checking some condition and trying to insert them

url- go to webpage
i have an input text field and submit button.

how do i make the url entered into the textfiel

Create multiple (n) arrays
Hi there,

I have the following need:

I have 2 arrays (coming from a databases)

bind error during socket programming
i am kinda new to socket programming. wrote the below code for a server. but getting the bind error

What do you call the "token" thing?
You know how some sites have links that run on tokens? Tokens are links that only stay alive for a c

Form File Upload
I've read through tons of resources and tutorials and as far as I can tell, my code is accurate, but

mod_rewrite.c on windows ??
why it's not working on windows while it's working on other hosts???

this is the code i got

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