What's wrong with this query?
#1

Код:
SELECT IP, Reason, UnbanTimestamp WHERE `Name` = 'Test' OR `IP` = '5.45.252.237' LIMIT 1
Reply
#2

Maybe try "SELECT IP, Reason, AND UnbanTimestamp WHERE `Name` = 'Test' OR `IP` = '5.45.252.237' LIMIT 1"
Reply
#3

FROM?
Reply
#4

Quote:
Originally Posted by Bakr
Посмотреть сообщение
FROM?
Yeah.

Quote:

SELECT IP, Reason, UnbanTimestamp FROM tableName WHERE `Name` = 'Test' OR `IP` = '5.45.252.237' LIMIT 1;

Obviously change "tableName" to whatever the name of your table is.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)