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
134
52
Other php-forum
Header is not working in IE
Hi ! header function is not working in IE but it works in FF, Safari, Chrome. any help please. :
returning data from an ssh2_exec()
here's what i got.
$conn = ssh2_connect($this->_host);
ssh2_auth_password($c
I got my hosting suspended XD
So I saw this challenge a day or so ago
http://www.programming-challenges.com/pg.php?page=dow
couldn't connect to your database
Hello I am new to php mysql
Actually i have read A tutorial on nettuts
"http://net.tu
Querying info from one table based on info in another
Hi, I am currently trying to make a part for my user driven website where one user can subscribe to
How to display random record from table?
I have the following code:
Code: <?php
$display_block .= "<input type=
Motivational Posters
Hello,
I wonder how can i do them in php. Are there any sample codes that you can show me?
Convert .fdf to .pdf
I currently have a web form that uploads the form data to an .fdf file and emails it.
However
how to make database item unique
Hey guys,
is it possible to do this:
I have the database item $title being pulled for
Parse Error with doctype
I'm getting a parse error with this simple code. I don't get it. It worked one time then when I relo