MySQL. NEED HELP!
#7

Quote:
Originally Posted by Delux13
Посмотреть сообщение
You actually aren't inserting it.
pawn Код:
format(tmp,sizeof(tmp),"SELECT * FROM `users` WHERE `username`=LOWER('%s')",PlayerName(playerid));
You should use "INSERT INTO".
He's trying to grab data FROM the MySQL into a playerdata array in his script. He's doing the query right. It's probably something to do with sscanf, which I don't have much experience in.
Reply


Messages In This Thread
MySQL. NEED HELP! - by 1337connor - 25.01.2011, 13:05
Re: MySQL. NEED HELP! - by Vince - 25.01.2011, 13:23
Re: MySQL. NEED HELP! - by Gabe - 25.01.2011, 13:48
Re: MySQL. NEED HELP! - by 1337connor - 26.01.2011, 00:58
Re: MySQL. NEED HELP! - by 1337connor - 26.01.2011, 12:45
Re: MySQL. NEED HELP! - by [MWR]Blood - 26.01.2011, 12:50
Re: MySQL. NEED HELP! - by Gabe - 26.01.2011, 13:29
Re: MySQL. NEED HELP! - by Sergei - 26.01.2011, 14:02
Re: MySQL. NEED HELP! - by 1337connor - 26.01.2011, 20:43

Forum Jump:


Users browsing this thread: 3 Guest(s)