Parse error: syntax error, unexpected T_ELSEIF in /home/......html/item.php on l


Posted on 16th Feb 2014 07:03 pm by admin

I do not know what is wrong with this. Hope some one can help. I do nto want to post the entire site because it is to long. However, here is the few lines:

$TPL_closed_auctions_list .= "</table>";
$TPL_closed_auctions_list .= "&nbsp;&nbsp;<a href='viewallclosedauctions.php'>" . $MSG_31_0046 . "</a>";
#// Get parameters from the URL
$params = getUrlParams("=");
if(empty($_GET['id']))
$_GET['id'] = $params['id'];
else
$params['id'] = $_GET['id'];
$id = $params['id'];
$_SESSION["REDIRECT_AFTER_LOGIN"] = "http://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"];
foreach($membertypes as $idm => $memtypearr)
{
$memtypesarr[$memtypearr['feedbacks']] = $memtypearr;
}
ksort($memtypesarr, SORT_NUMERIC);
$BIDFILE = $SETTINGS['siteurl'] . "bid_classic.php";
if(!isset($_POST['id']) && !isset($_GET['id']) && isset($_SESSION["CURRENT_ITEM"]))

{

$id = $_SESSION["CURRENT_ITEM"];

}elseif(isset($_REQUEST['id']) && is_numeric($_REQUEST['id']))

{
$_SESSION["CURRENT_ITEM"] = $_REQUEST['id'];
}else
{
// error message
$_SESSION["CURRENT_ITEM"] = "";
include "header.php";
print "<table WIDTH=100% border=0 CELLPADDING=5>
<tr><td align="center" class=errfont>" . $ERR_605 . "</td></tr>
</table>";
include "footer.php";
exit();
}

If you can help, please let me know

No comments posted yet

Your Answer:

Login to answer
134 Like 52 Dislike
Previous forums Next forums
Other forums

Date help - fetch dates for Mondays between xxx and yyy?
Does anyone know the best way to do this? I have two dates, say:

2010-01-26 and 2010-05-30

value not going in data base
hello friends....
i am having a working javascript....when i am selecting any

get font info from a font file
hello,

Does anyone know how to get font info from a font file ... using php of course !
<

Getting a variable to work in function params
I have this fuction which is inside a class:

Code: public static function generateEmbedCode($

Check before inserting in DB ???
This is my code
---------------
if ( $_POST ['Submit'])
{{
$username = $_POST ['usernm

Why is this query failing?
Why is this not working?
$query = "SELECT * FROM `users` WHERE `userid` = " . $USERID

xApp Analytics in BI 7.0
Dear all,

I am trying to implement xApp Analytics in BI 7.0. After I installed the analyt

PHP code for a proxy
I was wondering which function I could use to create an online proxy tool. I was thinking cURL would

import table with dependency
Hi

What is the best way to import table back which has dependency?

SQL> cre

How to assign a textbox value to PHP variable??
Hi ! Can any one help me out as quickly as possible. As I m new to PHP.
Plz tell me how to assign

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash