Hi, something seems to be wrong with the first line of this if function, seems alright to me though.
if ($count1 == sizeof($map) && $count2 == sizeof($map[0])){
echo ";";
}else{
echo ",";
}
This is the error I get (line 36 is the first line of the above line.)
Parse error: parse error in C:\wamp\www\game\mapArrayConvertor.php on line 36
EDIT: The OP notes in an answer below that the error was a missing semi-colon on line 35 and not the code included in the question.