Search found 2 matches
- Wed Jul 23, 2003 5:30 am
- Forum: PHP - Code
- Topic: while loop
- Replies: 2
- Views: 309
- Wed Jul 23, 2003 4:10 am
- Forum: PHP - Code
- Topic: while loop
- Replies: 2
- Views: 309
while loop
Hi all, first the php code : <?php while(list($name, $value) = each($HTTP_POST_VARS)) { $$name = $value; } $myvar = $choix; $myext = $extent; $rep=opendir($myvar); $fichiers=""; while ($nomfichier=readdir($rep)){ if(substr($nomfichier,-3)==$myext) { $fichiers .= ",".substr($nomfi...