SQLite: Several Entries
#1

I didn't really find this in the forum so I am gonna ask it here.

How can I make more than one entry in a SQLite Database? I thought that it might work somehow like this, but I am not really sure:

pawn Код:
format(query,sizeof(query),"update `users` set (`Name` = '%s' , `Password` = '%s' , `Adminlevel` = '%d')",PName(playerid),password,adminlevel);
I appreciate any type of help.
Reply
#2

What do you mean by 'several entries,' do you mean you want to put more than one row worth of information? or do you mean more than one column?

If you mean multiple columns (separate variables for the same player) then check my 'Assassin's Escape' gamemode, it uses SQLite quite appropriately.
Reply
#3

Ah I found it. Great, thanks for the fast reply!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)