Hi i was wonder how to receive a number from a the sql database i have a column named admin and i need it so that $admin equals what is written there(like 1). I was thinking of using the Select command kind of like
Select admin from $table where username = $username
but i dont know exactly every thing i have to do so it sets the $admin. I have tried many different thing but it always ends up that when i do an echo $admin it displays...
$admin = Select admin from $table where username = $username
If someone could help me that would be great!