RE: [PHP] subroutines?
| From: | Jason Murray | Date: | Tue, 07 Aug 2001 23:40:10 +0000 |
| Subject: | RE: [PHP] subroutines? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-61720@lists.php.net to get a copy of this message | ||
> How does PHP compensate for an apparent lack of
> traditional subroutines (as with Perl, etc.)? It seems
> like I'm going to have to script separate pages for
> ea. set of processes in my search (i.e., print FORM,
> print results for SEARCH,
> print DETAILS, etc.). Please tell me I'm mistaken!
Use functions.
Use switch().
Use a form that submits to itself.
I feel like a Trainspotting poster. :)
Jason
--
Jason Murray
jasonm@melbourneit.com.au
Web Developer, Melbourne IT
"Work now, freak later!"