hello, i need help. why does this command not work?
if($row[level] == 1 then "Bruger" else "Admin")
Because it is not valid PHP syntax. No idea if it's valid anything else, but among other things, PHP doesn't even have a "then" keyword. See documentation for if