Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
LUA: Get a determined Value from a determined Table
a guest
Oct 30th, 2016
405
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Lua
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
GetValueFromTable
(
value
,
table
)
return
mysql
.
query
(
"SELECT value FROM table WHERE insert_condition_here LIMIT 1;"
)
;
end
-- function
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Ironforge Setup Script
Bash | 19 min ago | 5.56 KB
Untitled
2 hours ago | 7.55 KB
Untitled
4 hours ago | 16.16 KB
Untitled
5 hours ago | 8.98 KB
Untitled
6 hours ago | 27.42 KB
Untitled
7 hours ago | 15.07 KB
Untitled
8 hours ago | 26.38 KB
Untitled
9 hours ago | 8.44 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!