I wanted to echo a bunch of html code if a user is on a specific rank. but I get an error Parse error: syntax error, unexpected '?'
PHP Code
<?php if ($row['rank'] == 0) { echo '
//SOME CODE HERE
<label>Question 1: </label>
<input class="au-input au-input--full" style="width: 50%;" type="text" name="question1" placeholder="Question 1" value="' . $question1 . '"></input>
<input type="checkbox" name="q1multiple"' <?php if(isset($_POST['q1multiple'])) { echo "checked='checked'"; } ?> '>
<label>Allow more than one answer </label>
</div>
//SOME CODE HERE
end of echo';} ?>
The error is in the if(isset($_POST['q1multiple'])) { echo "checked='checked'" part.
What should I do with it?