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

Trending Topics

Online now

Members online
1,108
Guests online
7,904
Total visitors
9,012

Forum statistics

Threads
2,329,466
Posts
29,248,389
Members
1,156,445
Latest member
Laisaaaaa
Back
Top