Function for putting data to the html table [two different ways]


/ Published in: PHP
Save to your folder(s)

This function is very helpfull when you need to put some data (that was gotten from database) to HTML table. You can choose vertical or horizontal types.

**Horizontal type:**

| 1 | 2 | 3 |

| 4 | 5 | 6 |

| 7 | 8 | 9 |

**Vertical type:**

| 1 | 4 | 7 |

| 2 | 5 | 8 |

| 3 | 6 | 9 |


* hope you will sort it out (:

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.