I got this error:
Parse error: syntax error, unexpected 'if' (T_IF), expecting ',' or ';'.
What's the problem? I couldn't find it, Thanks.
echo '<strong>Role:</strong>'if($query['role'] == 1){echo 'Admin';} elseif ($query['role'] == 2){echo 'User'} '<br>';