Hello all I am trying to find a solution for joining multiple 'expr' together using for with 'count'.Whatever combination I use does not work.
Currently I have:
for($i=0; $i<14; $i++) {
//echo some values for the table;
}
//echo a table;
}
This sets the amount of values to be used in my tables.
But I have a two breaks where the numbers are missing so I need something like:
e.g 1:
//this gives syntax error
for($i=0; $i<2; $i=4; $i<8; $i=10; $i<15; $i++) {
//echo some values for the table;
}
//echo a table;
}
e.g 2:
//just doesnt work
for($i=0; $i<2; $i++) for($i=4; $i<8; $i++) for($i=10; $i<15; $i++) {
//echo some values for the table;
}
//echo a table;
}
e.g 3:
//breaks my table
for($i=0; $i<2; $i++);
for($i=4; $i<8; $i++);
for($i=10; $i<15; $i++) {
//echo some values for the table;
}
//echo a table;
}
e.g 4:
//this one is straight out of the php manual & doesnt work
for($i=0; $i<2; $i++) {
for($i=4; $i<8; $i++) {
for($i=10; $i<15; $i++) {
//echo some values for the table;
}
}
}
}
//echo a table;
}
Please can you help me I need to find a solution to this - many thanks.