Question: some PHP looping questions: Hello! I just started learning PHP and AM currently working on using a for loop to display four trees in a
some PHP looping questions:
Hello! I just started learning PHP and AM currently working on using a for loop to display four trees in a row, as shown below:

My current problem is that I have this loop in the same
, and I should have four
instead of one, but I don't know if I would use a loop to do that
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
My current display:

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
some code that I wrote:
echo " echo ""; echo "
"; echo ""; "; echo ""; echo " "; echo "
"; //table 2 echo ""; echo "
"; echo ""; "; echo ""; echo " "; echo "
";
?>
| | ole ole ole ole ole ole ole ole **** ***
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
