You can do it that way. It works very nice.
$str =array();
for($i=0;$i<10;$i++)
{
for($j=0;$j<10;$j++){
$str[]=$i;
}
$j=0;
}
echo implode($str,',');
2
solved Increment number php every next number
You can do it that way. It works very nice.
$str =array();
for($i=0;$i<10;$i++)
{
for($j=0;$j<10;$j++){
$str[]=$i;
}
$j=0;
}
echo implode($str,',');
2
solved Increment number php every next number