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>";
Did you know?Explore Trending and Topic pages for more stories like this.
#// 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

Error: SQL Syntax; Line 1
Code:

<?php require "global_settings.php"; ?>
<title&g

Save data in input fields when they press "BACK BUTTON"
Hi, this is html form: And let's say they get a error "Please enter ur title must be more then

Troubles with a spider class
I am building a spider that will crawl through random whitepages (eg. anywho.com, switchboard.com, w

Blocking video streaming
Hello everyone,

I post a message here because i didn't find any solution yet.
I just finis

private constructor
Hello,

Can we create a constructor as private? If yes, what is the use of it? If no, why can'

Add 5 to a variable when a button is clicked, and re-run a for loop
So I'm making a feedback sort of section on a website with MySQL and PHP, I've gotten the script to

Text file to .Dat file Conversion in PHP
Hi All,
Could anybody provide code for Text file to .Dat file Conversion in PHP.

Tha

phph within href not showing php if change ? to &
Code: [Select]<a href="<?php echo $puser; ?>?m=<?php=(($m-1)&l

Unable to customise toolbar in FCK
get multiple rows
Hi I want to get multiple rows from a db

I am using this for the db query
Code: public

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