Generating a table from a PHP array
- by robertdd
Hey,
I'm not sure how difficult this but I have an array and would like to put it into and html table.
I need to have two array strings per row, so if this were the array:
$array1 = array(
1 => 'one',
2 => 'two',
3 => 'three',
4 => 'four',
5 => "five",
6 => 'six',
);
And I need the html table to look like this:
| one | two |
|three| four |
|five | six |
Thanks!