By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,137 Members | 2,282 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,137 IT Pros & Developers. It's quick & easy.

php parse error, unexpected T_VARIABLE

P: 2
can anyone please help me, im getting a dumb:

Parse error: syntax error, unexpected T_VARIABLE in /home/jeddah/public_html/lomar/cart/remove.php on line 5

in the following file,

<?php require_once('../include/top.php');?>
<?
$urlpara_local="clickmenuid=$clickmenuid&smenuid=$ smenuid&pageNum_product_rec=$pageNum_product_rec&t otalRows_product_rec=$totalRows_product_rec&totrec =$totrec";
$visitorid=current_visitorid($database_lomarconn, $lomarconn)
$deleteSQL = "DELETE FROM tbl_cart WHERE cart_id='$cart_id' and visitorid='$visitorid'";
mysql_select_db($database_lomarconn, $lomarconn);
$Result1 = mysql_query($deleteSQL, $lomarconn) or die(mysql_error());
$updateGoTo = "cart.php?$urlpara_local";
header(sprintf("Location: %s", $updateGoTo));
?>
Nov 28 '06 #1
Share this Question
Share on Google+
2 Replies


P: 2
god !! , it was a dumb ; , solved the problem , thanx guys.
Nov 28 '06 #2

ronverdonk
Expert 2.5K+
P: 4,258
Next time please show your code within the appropriate tags!! You break the boxes!!

Ronald :cool:
Nov 28 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.