Qbasicnews.com

Full Version: PHP login system for AtosoftQB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Oh the joys of languages based on C...the stupid pointless semicolon! Big Grin
Quote:Memory corrupt in seg... at offs... Far heap trashed, data area deleted
Toast burned
Girlfriend leaving
Job Lost
Life crashing
Death only solution

Ohh.. I must've missed a ;




............................. :barf:
I don't like them semicolons very much either ;-)
Lets work on QBasic-- and only add one thing, each statement *must* end with a colon.. :barf:
well, its easy to spot, its just a parse error on line X. If there aint an error on line X, then you missed a semicolon on line x-1 Wink Not that hard to find


Z!re: LOL! You always crack me up! rofl!
Just tried it:
1054: Unknown column 'active' in 'field list'
when I complete reg form

Also I don't see codes of conduct.
Another thing, I always test my code as I write, and debug then and there saves me a lot of trouble seeking bugs when I finished something. Also that mysql query is f'ed big time., see this;
http://www.webxpertz.net/forums/showthread.php?t=29823
study the codes in vinnys (vincent puglia) post. You will soon see what wrong with your code, notice the way hes split the variables in the querys.
i got all the bugs out, but please don't test it, coz im going to be reformatting the database to have alof of other variables:

Code:
$query="CREATE TABLE userdata (id INT(6),username VARCHAR(16),password VARCHAR(16),email VARCHAR(32),displaypic VARCHAR(64),webpage VARCHAR(32),location VARCHAR(32),occupation TEXT,timezone INT,gender VARCHAR(1),msn VARCHAR(32),icq VARCHAR(32),irc VARCHAR(32),yahoo VARCHAR(32),aim VARCHAR(32),hidemail SMLINT,active INT, banned INT, posts INT,rank INT,PRIMARY KEY (id))";

mysql_query($query);

I haven't reformatted the database yet, but I know i will, but first, im going to reset it.......

all code is good, and stuff,

Oz~
why dont you just do theright hting and let me code it for you?
LOL.... Hmm thats one of your better idea seph!
so are we agreed? i should do it?
well, if u code it, i don't learn anything........so, unfortunately, u'll probably hear all about teh bugs and personal screwups in my code....

Oz~
Pages: 1 2 3 4