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

Trending Topics

Online now

Members online
1,191
Guests online
1,034
Total visitors
2,225

Forum statistics

Threads
2,274,005
Posts
28,953,026
Members
1,235,022
Latest member
mengz30
Back
Top