most likely it needs to be
elseif
no space!
Someone elsemight see something else
-Original Message-
From: server-matrix <[EMAIL PROTECTED]>
Sent: Jul 29, 2004 11:31 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] PHP help: login.php T_ELSE error
Please could somebody help me wit
Please could somebody help me with this. I'm quite new to PHP. I can't seem
to find what needs to bechanged in this.
// session id check
if (!empty($HTTP_POST_VARS['sid']) || !empty($HTTP_GET_VARS['sid']))
{
$sid = (!empty($HTTP_POST_VARS['sid'])) ? $HTTP_POST_VARS['sid'] :
$HTTP_GET_VARS['sid'];