How to use two diamensional arrays in PHP?
Posted: Fri Jun 23, 2006 7:58 am
I have a list of courses like PHP,C++..etc. and each courses consists a number of modules.For example the PHP course contains modules are 1.introduction
2.basics
3.syntax etc..
I want to display each course and its correspoding modules using a for loop.
I have all this details in an array from the database and i want to store it some other arrayand display the details in a table.How can i do it?
2.basics
3.syntax etc..
I want to display each course and its correspoding modules using a for loop.
I have all this details in an array from the database and i want to store it some other arrayand display the details in a table.How can i do it?