diff options
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 5acb3e883..c236adbb7 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -5871,9 +5871,9 @@ set @i, distance(100,200,101,202); --------------------------------------- -*query_sql "your MySQL query", <array name>{,<array name>{; +*query_sql "your MySQL query", <array variable> {,<array variable>, ...}; -Returns up to 127 values into array and return the number of row +Puts up to 128 rows of values into the arrays and returns the number of rows. Example: set @nb, query_sql("select name,fame from `char` ORDER BY fame DESC LIMIT 5", @name$, @fame); |