This code runs
$i = 0;
$j = 0;
$k = 0;
$l = 0;
while ($i < 5) {
while ($j < 5) {
echo $i." ".$j." || ";
$j++;
while ($l < 5) {
echo $i." ".$l." || ";
$l++;
}
$l =0;
}
while ($k < 5) {
echo $i." ".$k." || ";
$k++;
}
while ($l < 5) {
echo $i." ".$l." || ";
$l++;
}
$j = 0;
$k = 0;
$l = 0;
$i++;
}
I hope this is what you were talking about. You might want to check for the common errors of missing '$' characters on your variable, mistyped variables, missing '{' or '}' and the all too common missing ';'.🙂
I hope this helps.