How to scan through the MySQL database for a specific variable?
#1

As the title says..

Example:

If I wanted to scan through the MySQL for like a list of all Admins.. offline & Online.

How would I be able to make such a command?

Yeah, I am pretty new to Pawno.
Reply
#2

Quote:
Originally Posted by Brandon_More
Посмотреть сообщение
As the title says..

Example:

If I wanted to scan through the MySQL for like a list of all Admins.. offline & Online.

How would I be able to make such a command?

Yeah, I am pretty new to Pawno.
Tell us what MySQL version you are using.
Reply
#3

BlueG r6
Reply
#4

An example:
pawn Код:
"SELECT username, admin FROM users WHERE admin > 0"
It selects the name and the admin level from those whose admin level is greater than 0.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)