RE: [PHP] Subroutines

2001-09-29 Thread Jack Dempsey
they're just functions function your_function($arg1,$arg2){ echo $arg1; echo $arg2; } -Original Message- From: Chris Herring [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 30, 2001 2:08 AM To: php list Subject: Re: [PHP] Subroutines My bad, http://www.b00

Re: [PHP] Subroutines

2001-09-29 Thread Chris Herring
My bad, http://www.b000.net/code/ - Original Message - From: "Chris Herring" <[EMAIL PROTECTED]> To: "php list" <[EMAIL PROTECTED]> Sent: Sunday, September 30, 2001 1:07 AM Subject: [PHP] Subroutines I've looked through the manual (or at least search

[PHP] Subroutines

2001-09-29 Thread Chris Herring
I've looked through the manual (or at least searched) for subroutines, and I can't find them, there's a guy I know who made a script with "custom PHP subroutines". (http://b000.net/) Anyway, I want to know how to make them. Thanks for any input.

Re: [PHP] subroutines?

2001-08-09 Thread Steve Werby
<[EMAIL PROTECTED]> wrote: > As a new PHP convert, I ran into this same problem (below) yesterday while > designing a form. ASP programmers (if they're THINKING) will use subs to > keep "if" blocks tidy. In ASP, I'd use something like: > > If Request.ServerVariables( "REQUEST_METHOD" ) = "GET" T

RE: [PHP] subroutines?

2001-08-09 Thread billfarr
box contains arbitrary codes that allow me to generate the appropriate email address on the fly. Hope my experience will be helpful to other noobies making the Big Transition. Best regards, Bill -Original Message- From: Christian Reiniger [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09

Re: [PHP] subroutines?

2001-08-09 Thread Christian Reiniger
On Wednesday 08 August 2001 01:37, CGI GUY wrote: > 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, > pr

Re: [PHP] subroutines?

2001-08-07 Thread Miles Thompson
Jason pretty well suggested what to use. PHP scripts with a lot of logic in them usually have all the function definitions and logic at the top of the script and the display stuff at the end. Again, as I'm always recommending, have a look at Julie Meloni's Thickbook tutorials, particularly the

RE: [PHP] subroutines?

2001-08-07 Thread Jason Murray
> 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!

[PHP] subroutines?

2001-08-07 Thread CGI GUY
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! ___