separating php array value
I have this array in php:
$a[]="Jason White";
$a[]="Jean Black";
$a[]="Billy Brown";
But I will have to display the values in the table and should be like this:
+-----------+--------------+
| Firstname | Lastname |
+-----------+--------------+
| Jason | White |
+-----------+--------------+
| Jean | Black |
+-----------+--------------+
| Billy | Brown |
+-----------+--------------+
is it possible to do it that way? or any suggestion to make this table?
thanks in advance.
No comments:
Post a Comment