🔒 Closed Need help in looping.

Status
Not open for further replies.

perseus998

Enthusiast
Patulong naman po. May radiobutton po ako tapos gusto ko kada loop mag iiba yung number na nakalagay sa name.
Ex.

foreach($names as $name){
<?php $i=0; ?>
if($id = $this_id){
<input type="radio" name="radioB<?php echo $i++; ?>" >*Some Text*
}
}

Please Help. :(
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 6
    Replies
  • 763
    Views
  • 3
    Participants
Last reply from:
calvinpage20

Trending Topics

Online now

Members online
1,206
Guests online
5,963
Total visitors
7,169

Forum statistics

Threads
2,350,709
Posts
29,368,312
Members
1,087,827
Latest member
gnomera
Back
Top