Having trouble with an SQLite account system that I'm working on
#2

Your INSERT query doesn't look to me like it would've been formatted correctly, try printing the value of "query" after you format it (in the register function).

Edit: By the way, you know SQL databases support default values right? So you wouldn't need to fill in any of those columns if you set default values in the table beforehand. Any row inserted then without specifying the value of a column will just default to that value, so all you would need to insert in your case would be the IP, name and password.
Reply


Messages In This Thread
Having trouble with an SQLite account system that I'm working on - by PCheriyan007 - 01.07.2012, 03:14
Re: Having trouble with an SQLite account system that I'm working on - by JaTochNietDan - 01.07.2012, 03:17
Re: Having trouble with an SQLite account system that I'm working on - by PCheriyan007 - 02.07.2012, 20:01

Forum Jump:


Users browsing this thread: 1 Guest(s)