Re: [PHP] Exit script early

2002-07-16 Thread 1LT John W. Holmes
ssage - From: "Michael Zornek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 1:08 PM Subject: [PHP] Exit script early > Ok, > > So I'm creating a details.php page where I'm expecting the url to be > something like: > &

Re: [PHP] Exit script early

2002-07-16 Thread Martin Clifford
RTFM re: Exit and Continue. Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/ >>> Michael Zornek <[EMAIL PROTECTED]> 07/16/02 01:08PM >>> Ok, So I'm creating a details.php page where I'm expecting the url to be something like: /

Re: [PHP] Exit script early

2002-07-16 Thread Chris Boget
> So I'm creating a details.php page where I'm expecting the url to be > something like: > My question is "what command can I use to end the script [inside the > top part of that if statement]?" Ironically enough, exit(); Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Exit script early

2002-07-16 Thread Adam Voigt
exit; =) Adam Voigt [EMAIL PROTECTED] On Tue, 2002-07-16 at 13:08, Michael Zornek wrote: > Ok, > > So I'm creating a details.php page where I'm expecting the url to be > something like: > > /details.php?id=12345 > > Thus in my php I have the following: > > if (!isset($id)) > { // if no id

[PHP] Exit script early

2002-07-16 Thread Michael Zornek
Ok, So I'm creating a details.php page where I'm expecting the url to be something like: /details.php?id=12345 Thus in my php I have the following: if (!isset($id)) { // if no id exsits // Create a page saying ID not found, goto index writeHTMLTag(); writeHeader("Error", "never")