Jump to content

Problem in for loop (PHP)


john_zakaria

Recommended Posts

hi everyone please i want to print the value of the variables

$myradiobutton1

$myradiobutton2

$myradiobutton3

$myradiobutton4

....... $myradiobutton10

 

i made a for loop to print the values of each $myradiobutton($i)

but i can not print it ...

can anyone help me

 

the code is


for($i = 1; $i < 11; $i++)
             {			

  echo $myradiobutton.$i.'<Br><BR>';

}

 

please try to fix this problem

thnx in advance

Link to comment
https://forums.phpfreaks.com/topic/152763-problem-in-for-loop-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.