I have a Multi dimension array and what i 'd like to do is put array to insert the element in each column
for example
Multi dimension array :
Tony 14
Peter 20
I would like to insert them into a different array , so that
column0[]={Tony, Peter}
column1[]={14, 20}
Since i do not know the actual no of column , how can i achieve this?
for ($row = 1; $row <= $highestRow; $row++) {
for ($y = 0; $y < $highestColumn; $y++) {
................what should be added here................
}
}
Thank you
phpsyntax, that doesn't allow different meanings in terms ;-)