Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in D:\Websites\rave.ca\website\include\functions\visitors.php on line 5

Warning: Cannot modify header information - headers already sent by (output started at D:\Websites\rave.ca\website\include\functions\visitors.php:5) in D:\Websites\rave.ca\website\index.php on line 546

Warning: Cannot modify header information - headers already sent by (output started at D:\Websites\rave.ca\website\include\functions\visitors.php:5) in D:\Websites\rave.ca\website\index.php on line 547

Warning: Cannot modify header information - headers already sent by (output started at D:\Websites\rave.ca\website\include\functions\visitors.php:5) in D:\Websites\rave.ca\website\index.php on line 548
Neoform - Page 1 - Rave.ca
Rave Radio: Offline (0/0)
Correo electrónico: Contraseña:
Anonymous
Nueva cuenta
¿Olvidaste tu contraseña?
Page: 1 2 Next »»Rating: Unrated [0]
Neoform
Good [+1]Toggle ReplyLink» nter replied on Tue Dec 13, 2005 @ 3:18pm
nter
Coolness: 92575
thread
Good [+1]Toggle ReplyLink» neoform replied on Tue Dec 13, 2005 @ 3:24pm
neoform
Coolness: 339745
thread
Good [+1]Toggle ReplyLink» nter replied on Tue Dec 13, 2005 @ 3:26pm
nter
Coolness: 92575
thread
Good [+1]Toggle ReplyLink» FRANKB replied on Tue Dec 13, 2005 @ 4:01pm
frankb
Coolness: 103415
threyeyeyed!
Good [+1]Toggle ReplyLink» No_Comply replied on Tue Dec 13, 2005 @ 8:09pm
no_comply
Coolness: 85015
string?
Good [+1]Toggle ReplyLink» neoform replied on Tue Dec 13, 2005 @ 8:29pm
neoform
Coolness: 339745
while (1)
{
echo "thread";
}
Good [+1]Toggle ReplyLink» Mali replied on Tue Dec 13, 2005 @ 8:53pm
mali
Coolness: 202195
syphilis!
Good [+1]Toggle ReplyLink» blah123 replied on Tue Dec 13, 2005 @ 10:00pm
blah123
Coolness: 46950
Originally posted by DJNEOFORM...

while (1)
{
echo "thread";
}


if (neoform=post)
printf("geek!");
else
printf("still geek! hehehehehe");
Good [+1]Toggle ReplyLink» neoform replied on Wed Dec 14, 2005 @ 12:17am
neoform
Coolness: 339745
since you did a left-wise assignment in your if statement, it will always return true. next time try using "==" instead of "="
Good [+1]Toggle ReplyLink» flo replied on Wed Dec 14, 2005 @ 12:23am
flo
Coolness: 146405
she didn't say which language she was using there :p
Good [+1]Toggle ReplyLink» neoform replied on Wed Dec 14, 2005 @ 12:56am
neoform
Coolness: 339745
the only language that i know of that uses "=" as a test and not an assignment is VB, and vb doesn't have a printf() function..

PHP, CPP and C do however.. and they all use "==" as tests and "=" as assignments.
Good [+1]Toggle ReplyLink» Lone_Star replied on Wed Dec 14, 2005 @ 1:40am
lone_star
Coolness: 153135
like... OMFGROFLMAOBBQCOPTER!
Good [+1]Toggle ReplyLink» moondancer replied on Wed Dec 14, 2005 @ 2:02am
moondancer
Coolness: 92345
yeah well he didn't even make a proper while condition..
Good [+1]Toggle ReplyLink» neoform replied on Wed Dec 14, 2005 @ 2:30am
neoform
Coolness: 339745
by he, who do you mean?
Good [+1]Toggle ReplyLink» moondancer replied on Wed Dec 14, 2005 @ 3:06am
moondancer
Coolness: 92345
you. First of all, that's an infinite loop. Second of all you didn't specify which var is ==1 ;p
Good [+1]Toggle ReplyLink» mdc replied on Wed Dec 14, 2005 @ 3:06am
mdc
Coolness: 148895
YOUR MOM!!!!
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOh
Good [+1]Toggle ReplyLink» neoform replied on Wed Dec 14, 2005 @ 3:41am
neoform
Coolness: 339745
Originally posted by MOONDANCER...

you. First of all, that's an infinite loop. Second of all you didn't specify which var is ==1 ;p


it's a perfectly valid statement by the way.

1 always tests to be true.

and by the way, infinite loops are not syntax errors. they will almost always compile.
Good [+1]Toggle ReplyLink» moondancer replied on Wed Dec 14, 2005 @ 4:05am
moondancer
Coolness: 92345
no, I didn't say it was a syntax error, it's a logic error, besides you initially corrected her for the same thing ;), cause it would always return true. so thyaaaaaaaaaa
Good [+1]Toggle ReplyLink» neoform replied on Wed Dec 14, 2005 @ 8:48am
neoform
Coolness: 339745
there's no logic error in an infinite loop. sometimes you WANT an infinite loop, like in my example........... i specifically wanted it to infinitely display "thread" over and over.. which means there was no error.
Good [+1]Toggle ReplyLink» cactain_steef replied on Wed Dec 14, 2005 @ 10:11am
cactain_steef
Coolness: 154755
dorkitronnn haha.
Neoform
Page: 1 2 Next »»
Post A Reply
You must be logged in to post a reply.