i do have a little problem in creating table from 2-dimentional array.
I am getting dynamic array from one page like,
Array
(
[0] => Array
(
[0] => 1374
[id] => 1374 )
[1] => 223
[version_id] => 223
[1] => Array
(
[0] => 1540
[id] => 1540)
[1] => 224
[version_id] => 224
[2] => Array
(
[0] => 1541
[id] => 1541)
[1] => 225
[version_id] => 225
)
I want data in table like,

by html structure
“row”
<tr>must render first then “column”<td>it would be easier to render by each row
UPDATES
here is exactly what you want..
3rd Edited
defined sample $data
assumes you knows fields info or retrieve by mysql_field_name