I wanted to create a dropdown, but when doing the following error appears.
Parse error: syntax error, unexpected '}', expecting end of file in line 96
<div class="form-group">
<label for="user">User:</label>
<select class="form-control" name="user" id="user">
<option value = "0">No user</option>
<?php>
$q = "SELECT id FROM users ORDER BY first ASC";
$r = mysqli_query($dbc, $q);
while ($user_list= mysqli_fetch_assoc($r)) {
$user_data = data_user($dbc, $user_list['id']);
?>
<option value="0"><?php echo $user_data['fullname']; ?></option>
<?php
} \LINHA 96
?>
</select>
</div>