🔒 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
  • 747
    Views
  • 3
    Participants
Last reply from:
calvinpage20

Trending Topics

Online now

Members online
1,064
Guests online
1,643
Total visitors
2,707

Forum statistics

Threads
2,285,176
Posts
29,028,156
Members
1,219,317
Latest member
Roninnnnn
Back
Top