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 .= " <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
52
Other forums
Problem with array max size.
Hi to everyone,
I've got a homework about filling a bidimensional array un spiral shape, I alre
Fetching META TAGS through
Hello everybody
I want to fetch meta tags of a domain.
It will be done from following code of
Multi Dimensional Array Append
Hi Guys
I have a function that returns a multidimentional array eg
$result = functio
Converting from one format to another
"I have got a date in DD/MM/YYYY but I need it in MM-DD-YYYY. Help!"
Echoing If Function?
A script I am using has If statements in the comments form to basically tell the form what to do. Cu
Attempt to assign property of non-object in...
I'm having issues with the following function in PHP 5...
function getTreeWithChildre
PO Release Strategy Issue
Hi Experts,
I am facing an issue related to PO release strategy. The details are-
<
Access website from only 1 computer...?
One of my customers wants his website to only be accessed by people in which they bought the website
Custom CMS
This is a big custom CMS script I'd like to develop and would like some help atleast figuring out wh
Output Buffering question
Hi all,
I've been trying to wrap my head around output buffering. So far I've found tons of