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

Stopping page post back
I have few literal contriols in my page and a repeater too. But inspite of using update panel, postb

Sub-domains & calling unique content
Hello,

Is there a way use something similar to the $_GET function for a sub-domain? I to be a

Using loop to count number of entries
I'm writing a program that must ask user to type in numbers. After each entry, the program has to re

Help If user voted, block them
On my Prayer request site, i let users Click a button to Pray for somone that has posted a pray, i g

Share admin accross websites
I'm using .net memberships and roles in one of my sites, but I need to be able to share logins and p

DATEDIFF Question
First time post, and of course it is a help question.

I am using a WP plug-in to display prev

LinkedList help
Ok so I just learned quickly about lists, so I have a not too hard project I think, but am having a

Schedule editor
Hi,

I have a question related to Schedule editor.
If we schedule a BLS for every 30

Get Total From While Loop
I'm trying to get the total for each product and add them for a Grand Total to list outside the loop

how to export excel file in same server
My first post - php newbie, so appreciate your support.

I'm currently using headers to save w

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