+ 1
How can I make the Isosceles trapezoid with php?
like ********** ******** ****** $row=3; $columns=10; for($i=0;$i<$rows;$i++){ forïŒ$k=0;$k<=$i;$k+=2ïŒ{ echo "  "; } for($j=0;$j<$columns;$j++){ echo "*"; } echo "<br \>" } what wrong?
1 Answer
0
I would advise you to draw the shape with client side javascript using canvas API since u are programming on the web, it will save u the trouble
PHP wasn't made to do that