Hercules Elf Bot - Feb 24, 2008 21:44
Originally posted by [b]Amano Ginji[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1047
Well, I used query_sql() and placed the values into a $ variable (eg $variable$ OR $variable). It was only able to retrieve 1 row and return 1.
For example:
I have 5 accounts in the `login` table.
set @sav,query_sql("SELECT `userid` FROM `login`",$var$);
@sav becomes 1
$var$ becomes s1.
$var$[1] doesn't exist and so on.