[PHP] Re: Include Question

2003-03-28 Thread Tim Burden
You could try this instead: Checklogin.php if (!$name || !password) { $message = $enter_info; } if ($message){ include (login.php); echo $message; exit; } But the way you had it should work, you might just need to global $message; right before the echo in login.php in case it is

Re: [PHP] Re: Include Question

2003-03-28 Thread Kevin Stone
than include() at the end of the script. Just my opinion. - Kevin - Original Message - From: Tim Burden [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, March 28, 2003 1:36 PM Subject: [PHP] Re: Include Question You could try this instead

Re: [PHP] Re: include question

2001-09-18 Thread Jason Bell
file. The user shouldn't notice any slowdown caused by your include. - Original Message - From: Nikola Veber [EMAIL PROTECTED] To: Chris Lee [EMAIL PROTECTED]; php forum [EMAIL PROTECTED] Sent: Monday, September 17, 2001 10:34 PM Subject: [PHP] Re: include question I'm afraid you have