Here is my code segment:
for($i=0;$i<23;$i++){
echo "<div id=slotshead></div>";
for($j=0;$j<30;$j++) {
echo " <div id=slots></div>";
}
echo '<br>';
}
But, it doesn't work. I want the two echo statements inside the loop to be continued, not break into a new line. How can I fix it?
$iloop... I'm completely lost on what you're trying to do.ids must be unique.