php-general | 2001092
Date: 09/30/01
- Next message: Don Read: "RE: [PHP] still problem with getting HIGHest and LOWest VALUES"
- Previous message: Martin: "[PHP] Re: fopen"
- In reply to: Andres Montiel: "[PHP] Recursion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Andres,
Yes, PHP support "recoursion". That means, that you are calling a function
again and again, but with new start-parameters. For example, if you want to
search a harddisc for a file, you will call your
function SearchFolder($path)
with "C:\". If the function itself detects subfolder, it will call itself,
but with the parameters "C:\Subfolder1", "C:\Subfolder2" and so on. You
have to watch out then, the the function terminated correctly, if the
searched file is found.
Martin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Don Read: "RE: [PHP] still problem with getting HIGHest and LOWest VALUES"
- Previous message: Martin: "[PHP] Re: fopen"
- In reply to: Andres Montiel: "[PHP] Recursion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

