Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP login system for AtosoftQB
#21
Oh the joys of languages based on C...the stupid pointless semicolon! Big Grin
I'd knock on wood, but my desk is particle board.
Reply
#22
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:
Reply
#23
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:
Reply
#24
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!
Reply
#25
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.
atos-Software
http://www.datacentertalk.com - interested in how web hosting works? Here the place to go to find out.
[Image: 42-r]
Reply
#26
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~
Reply
#27
why dont you just do theright hting and let me code it for you?
earn.
Reply
#28
LOL.... Hmm thats one of your better idea seph!
atos-Software
http://www.datacentertalk.com - interested in how web hosting works? Here the place to go to find out.
[Image: 42-r]
Reply
#29
so are we agreed? i should do it?
earn.
Reply
#30
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~
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)