09-01-2004, 04:01 PM
09-01-2004, 04:17 PM
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:
09-01-2004, 04:24 PM
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:
Lets work on QBasic-- and only add one thing, each statement *must* end with a colon.. :barf:
09-01-2004, 05:17 PM
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 Not that hard to find
Z!re: LOL! You always crack me up! rofl!
Z!re: LOL! You always crack me up! rofl!
09-01-2004, 05:35 PM
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.
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.
09-01-2004, 06:40 PM
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:
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~
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~
09-01-2004, 07:41 PM
why dont you just do theright hting and let me code it for you?
09-01-2004, 07:52 PM
LOL.... Hmm thats one of your better idea seph!
09-01-2004, 07:56 PM
so are we agreed? i should do it?
09-01-2004, 08:37 PM
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~
Oz~