I have an array like this:
$files = array(
array(
'name' => 'Detailed Brief - www.xyz.com.pdf',
'size' => '1.4MB',
),
array(
'name' => 'Pure WordPress theme.zip',
'size' => '735.9KB',
),
array(
'name' => 'Logotype.jpg',
'size' => '94.7KB',
),
);
How can I display the information as follows:
ul - li
Detailed Brief...- pdf(1.4mb)
Pure Wordpress... - zip(735.kb)
Logotype.jpg-(94,7kb)
Any ideas? I'm trying all the time with foreach
but it's not working.