SQL Problem
#1

Solved.
Reply
#2

pawn Код:
INSERT INTO `Users` (`Userid`, `Username`, `Password`, `Ip`, `Score`) VALUES('%d','%s','%s','%s','%d')
You need to define which columns accept the data
Reply
#3

Thanks Rob_Maatenow it works, but I thought it was optional to defined them and it worked the first time.
Reply
#4

Well no, with your version of the code, you were telling SQLite to insert:

1, John, Psasword01, 127.0.0.1, 5

Into " " column.
Reply
#5

Quote:
Originally Posted by Rob_Maate
Посмотреть сообщение
Well no, with your version of the code, you were telling SQLite to insert:

1, John, Psasword01, 127.0.0.1, 5

Into " " column.
Yes, I understand my mistake. It works and I added more data and all insert into/load fine.
Thank you!
Reply
#6

Noproblemo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)