RE: [PHP] Subroutines

2001-09-30 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.b000.net

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 searched) for subroutines, and I can't find them,

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, print

RE: [PHP] subroutines?

2001-08-09 Thread billfarr
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, 2001 8:21 AM To: CGI GUY; [EMAIL PROTECTED] Subject: Re: [PHP] subroutines? On Wednesday 08 August 2001 01

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 Then

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! Use

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