I have a table called USERS with the fields NAME, STATUS. Suppose I have 10 registered users.
How can I check if the 10 users have STATUS = 1 and if so, displays on the screen one (OK).
I know you have to do a SELECT, so far, but what is the best way to do this without using array
or loop
?