Forum Moderators: coopster
Parse error: parse error, unexpected '=', expecting ';' in /home/content/t/i/g/tiger5226/html/ordertracking.php on line 71
Line 71 reads below:
<?php for(x=0;x<i;x++){ ?>
Any help would be great thanks again!
Mark
<?php for($x=0; $x < $i; $x++){ ?>
I am actually installing a widget to have buysafe bonds sold on my thank you page. Below is the full text. If you see something different please let me know and maybe I can go from there. Thank you guys so much for all the help so far. You are great!
<!-- BEGIN: buySAFE Other Platform widget -->
<script type="text/javascript" src="https://example.com/private/rollover/utils.js"></script>
<script type="text/javascript">
<!--
var buySAFE_Merchant = '<?php print $merchant_id?>';
var buySAFE_OrderNum = '<?php print $order_num?>';
// Then, for EACH ITEM in the cart, call the function buySAFE_addCartItem:
<?php for(x=0;x<i;x++){ ?>
buySAFE_addCartItem( "<?php print $itemProdName[x];?>", <?php print $itemQty[x];?>, <?php print $itemPrice[x];?>, "<?php print $itemProdID[x];?>" )
<?php } ?>
//-->
</script>
<script type="text/javascript" src="https://example.com/private/rollover/widget.js"></script>
<!-- END: buySAFE Other Platform widget -->
[edited by: eelixduppy at 2:23 am (utc) on May 9, 2008]
[edit reason] example.com [/edit]
<?php for(x=0;x<i;x++){ ?>
buySAFE_addCartItem( "<?php print $itemProdName[x];?>", <?php print $itemQty[x];?>, <?php print $itemPrice[x];?>, "<?php print $itemProdID[x];?>" )
<?php } ?>
<?php for($x=0;$x<$i;$x++){ ?>
buySAFE_addCartItem( "<?php print $itemProdName[$x];?>", <?php print $itemQty[$x];?>, <?php print $itemPrice[$x];?>, "<?php print $itemProdID[$x];?>" )
<?php } ?>