hello, I've been writing this code for a while now. I have rewrote it a few times now. its rather stupid but here goes.
If ( $data[clanabbrv] != "" ) {
print "Your clan <i>$data[clanname]</i> is ranked <b>#$data[clanrank]</b> in the Instagib CTF Ladder.";
}
If ( isset($data[1v1rank]) {
print "<br>Your Instagib 1 vs 1 Ranking is <b>#$data[1v1rank]";
}
If ( isset($data[2v2rank]) {
print "<br>You and $data[2v2pard]'s ranking in Instagib 2 vs 2 is <b>#$data[2v2rank]";
}
when it gets to that part of the code it messes up. it says that I need another ] on line 28 which would be the first if statement.
if I take out the last two if blocks then it works fine. but when I take out any of the other ones it doesn't. i've never had this type of problem before and its rather stupid.
as far as I can tell the code is fine. is there anything I've missed whilst coding this?
thanks for the help.