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
Warning: mysql_num_rows() expects parameter 1
When i add quote at the end of this link
example:http://localhost/articlemania/category.php?cid=3
Specific name typed, specific image shown on html page
Hello,
Fairly new to PHP and was curious if someone might know how to solve a fairly simple r
Displaying Column Names
I have a question regarding the ability to show the column names from my table/query.
What I'm lo
help connecting a form to php and then emailing the form
Ok. So, I made a form, and I need help to where when submitted, I get an email with the submitted de
Data type mismatch
Hi,
I am migrating data from algol to c.I mapped real datatype in algol to double datatype in
How to use php and sql to check if values match the ones in a table (for logins)
How would I code it that the script takes two variables that are passed to it (UserID and PIN), and
Problem with php's rename function
So, i'm having a problem with the php rename function. Basically my script 'delete_user.php' attempt
SQL query not working well
Hi,
I made a small table with 5 rows and want to make them an sql consult using rownum
Pop-up Banner
Hello Friends,I need to use banner in our client site.Example: www.example.com if i enter this site
php call servlet
I have done a php backup application .
So there is a form that user pick some files to zip and d