Level 75
Don't, have the system assign the role. Should have separate sign ups (portals) for the various roles.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Dear best Team :) kindly help me how to attach role throw registration as Teacher or Student, here are my code :-
<label for="role_id" value="{{ __('Register as:') }}" />
<select name="role_id" class="form-control">
<option value="2">Student</option>
role_id = 2
<option value="3">Teacher</option>
role->id= 3
</select>
</div>```
Thanks in advance
Please or to participate in this conversation.