Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
What's wrong with this query?
ReneG
High-roller
Posts: 1,905
Threads: 63
Joined: Oct 2011
Reputation:
0
#1
04.11.2012, 04:56
Код:
SELECT IP, Reason, UnbanTimestamp WHERE `Name` = 'Test' OR `IP` = '5.45.252.237' LIMIT 1
Find
Reply
Scenario
Godfather
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
#2
04.11.2012, 05:02
Maybe try "SELECT IP, Reason, AND UnbanTimestamp WHERE `Name` = 'Test' OR `IP` = '5.45.252.237' LIMIT 1"
Find
Reply
Bakr
Gangsta
Posts: 977
Threads: 10
Joined: Apr 2011
Reputation:
0
#3
04.11.2012, 05:05
FROM?
Find
Reply
mkr
Little Clucker
Posts: 29
Threads: 0
Joined: Jul 2010
Reputation:
0
#4
04.11.2012, 05:57
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.
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help