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

Trending Topics

Online now

Members online
1,172
Guests online
4,015
Total visitors
5,187

Forum statistics

Threads
2,306,220
Posts
29,170,431
Members
1,194,720
Latest member
barracuda88
Back
Top