Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

tanveerkhanwd's avatar

HOW CAN I USE RADIO BUTTON IN MY QUIZ PAGE

MY VIEW PAGE:

" @foreach($gk as $g)

  • Q.{{$loop->index+1}} {{$g->question}}
  • A): {{$g->option1}}
  • B): {{$g->option2}}
  • C): {{$g->option3}}
  • D): {{$g->option4}}
@endforeach "

0 likes
1 reply
jlrdw's avatar

Perhaps take a tutorial on HTML forms and learn radio buttons and how they work.

Also take a general tutorial on dealing with radio buttons in PHP, laravel is a PHP framework.

Then come back and implement it laravel.

Please or to participate in this conversation.