• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Getting players+accname+pass in mysql.

papkie

Where is my zapalara?
Joined
Mar 10, 2010
Messages
99
Reaction score
2
Location
/dev/null
Hello.

Someone knows how to retrieve data from the database to be such information:
Account Name, Password, Character Name?

I can, I just acc name and pass

For help rep++

Sorry for my english.
 
Not sure if it's what u want tho. ;p
Code:
SELECT `players`.`name`, `accounts`.`name`, `accounts`.`password` FROM `accounts`, `players` WHERE `players`.`name` = 'papkie' AND `accounts`.`id` IN (SELECT `account_id` FROM `players` WHERE `name` = 'papkie' LIMIT 1);
 
I'm made remake for it:
Code:
SELECT `players`.`name` , `accounts`.`name` , `accounts`.`password` 
FROM `accounts` , `players` 
WHERE `players`.`account_id` = `accounts`.`id` 
AND `accounts`.`id`

Thx for sample! Rep++
 
Back
Top