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

PHP Include w/If IE Condition Statement?
I was having a problem with Internet Exploder (big surprise, right?) displaying my drop down menus i

help, header() is not working!
Hello, I have this code:


<?php

/**
* @author samoi
* @copyright 200

Really need helps regarding Pagination with Sort
I need someone helps regarding pagination problem...i actually want to make my page limited to let s

Reduce redundancies in switch functions?
Hello all! I somewhat new to PHP, and was wondering if anyone could give some suggestions on a swit

Need help Updating SQL Server Express DB from c# :(
Please can anyone help with:-
1 How to sructure the strSelect statement.
2 How to instruct

Structure Question - One Table or One Table Per Record Set?
I have a web app (mySQL and PHP) which allows people to create an item with up to 200 records which

Validating time
Hi Guys

what do you think of the following approach to validate a 24hour time:

http://

Linkage between two scripts
Okay say I have this for a link in a script:

Code: <li><a href="#&q

Prevent PHP mail( ) from appending hostname to from address
Hey guys,

I want to be able to send texts to phones via email (since each phone has their own

Problem with the Update command used with a sqldataadapter
I'm connected to a database on an SQL Server and I'm using a sqldataadapter, sqlconnection, sqldatas

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