Page 1 of 1

If Statement Checking 2 strings at same time.

Posted: Wed Mar 04, 2009 9:28 am
by MIGO
Hey guys, I would to ask you because I am getting this error: Parse error: syntax error, unexpected T_BOOLEAN_AND in ... on line 34

and I am using this code

Code: Select all

if[color=#BF0000]([/color]($nickname == $nickcheck) && ($clanname == clancheck)[color=#BF0000])[/color]
I know that the and is not like that but I would like to know how to do it.

Regards

edit:Problem solved, it was missing the red parts :D