Toon posts:

[php] for each (array in array)

Pagina: 1
Acties:
  • 62 views sinds 30-01-2008

Verwijderd

Topicstarter
php:

PHP:
1
2
3
4
foreach ($array as $key => $value)
{
echo 'bla'; 
}


Maar dat wil ik voor een array die in $array zit. Die array heet 'file', weet iemand hoe ik dat kan maken?

  • Banpei
  • Registratie: Juli 2001
  • Laatst online: 09:07
PHP:
1
2
3
4
foreach ($array['file'] as $key => $value)
{
echo 'bla';
}

Oid? :?

  • Janoz
  • Registratie: Oktober 2000
  • Laatst online: 26-05 00:01

Janoz

Moderator Devschuur®

!litemod

Dit is nu al het vijfde topic dat je opent over dit toch redelijk basic probleem. Het lijkt me dan ook wijzelijk om dit probleem even opzij te leggen en je te concentreren op iets simpelers.

Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'


Dit topic is gesloten.