Re: [PHP] Exiting from an include or required file

2002-08-21 Thread Joseph W. Goff
container would use break. > - Original Message - > From: "Henry" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, August 21, 2002 9:59 AM > Subject: Re: [PHP] Exiting from an include or required file > > > > Thanks, but my situa

Re: [PHP] Exiting from an include or required file

2002-08-21 Thread Joseph W. Goff
lt;[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 9:59 AM Subject: Re: [PHP] Exiting from an include or required file > Thanks, but my situation is slight more convoluted than I describe. > > I want to cascade down through a include chain and want to just stop > processing the cur

Re: [PHP] Exiting from an include or required file

2002-08-21 Thread Henry
> > -Original Message- > From: Roedel, Mark [mailto:[EMAIL PROTECTED]] > Sent: 21 August 2002 15:48 > To: Henry; php-general > Subject: RE: [PHP] Exiting from an include or required file > > > > Seems like the easy way, at least in this case, would be to make

Re: [PHP] Exiting from an include or required file

2002-08-21 Thread Henry
ECTED]] > Sent: Wednesday, August 21, 2002 9:40 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Exiting from an include or required file > > > Hi All, > > I would like to exit from an include file and continue in the calling > script! > > As an example > > FILE A: &g

RE: [PHP] Exiting from an include or required file

2002-08-21 Thread M . A . Bond
Or just do a return(); mailto:[EMAIL PROTECTED]] Sent: 21 August 2002 15:48 To: Henry; php-general Subject: RE: [PHP] Exiting from an include or required file Seems like the easy way, at least in this case, would be to make the second part of your File A an "else" t

RE: [PHP] Exiting from an include or required file

2002-08-21 Thread Roedel, Mark
Seems like the easy way, at least in this case, would be to make the second part of your File A an "else" to your "if". -Original Message- > From: Henry [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 21, 2002 9:40 AM > To: [EMAIL PROTECTED] >

Re: [PHP] Exiting from an include or required file

2002-08-21 Thread Bas Jobsen
Do: FILE A: Op woensdag 21 augustus 2002 16:39, schreef Henry: > Hi All, > > I would like to exit from an include file and continue in the calling > script! > > As an example > > FILE A: > > if (empty($_POST['search_criteria')) > { > echo "You must provide search criteria"; > > // exit

[PHP] Exiting from an include or required file

2002-08-21 Thread Henry
Hi All, I would like to exit from an include file and continue in the calling script! As an example FILE A: FILE B #include "A"; TIA Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php