I have a while loop in which I read file specs.
I want to skip the DIR entries so I tried:
next if ($type == "dir" );
Is next a valid call in a while loop? Otherwise, how do I skip these items?
TIA
Sean Shrum
try
do { if($type != "dir") { code... } while()
You want to use the "continue" statement (like perl's "next" ?) 🆒
http://www.phpbuilder.com/manual/control-structures.continue.php
Thanx.