+ 1

How to make a function in php using two which creates an html table giving its number of rows and columns.

I need the table function on urgent basis. Need a function which gives the html table telling its number of rows and columns and uses two arguments.

24th May 2020, 12:19 PM
Ahmed Kamal
Ahmed Kamal - avatar
2 ответов
+ 2
Thanks
30th Aug 2020, 7:26 AM
Ahmed Kamal
Ahmed Kamal - avatar
0
For example as follows: <?php ... some code ... echo "<table>"; while(data_exists) { echo "<tr>"; echo "<td>"some data "</td>"; echo "<td>"other data"</td>"; echo "</tr>"; } echo "</table>"; ?>
24th May 2020, 1:25 PM
JaScript
JaScript - avatar