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
search function
HI guys,
if anyone could point us in the right direction of how to do this, or provide some t
mysq_num_rows
Hi,
I want to use:
Code: if(mysql_num_rows($ergebnis2)==2)
how can the value 2, be
my login script page is not working on remote computers
hi my login is working on my computer, but when i tried 2 computers from 2 different locations, they
Page not Loading After Test
Hey All
It seemed that an inlcude statement wasn't working for some reason, so I tried a more
PHP loop
Okay so I have several "articles" stored in a mysql database and am attempting to echo tho
An odd assignment statement. Can someone explain this assignment to me?
What purpose is served by the bit of code between the two equal signs in the $installurl set? Is th
FlashVar function how to insert variables
Hi guys. Im new in this forum and also new in php programming. Can you help me about this code?
<
SCO Unix
I know this might not be the place to ask, but, can anyone tell me if SCO Unix comes with PHP built
how to timeout $doc = new DOMDocument()->load($url)
I am currently using this $doc->load($url) to fetch an rss feed.
If a feed takes long than
What is SAP Avatar ?
Hi All,
This G.Satish , my boss asked me to explore on SAP Avatar. I searced in internet