I am a php newbie and I have been working on a php script and it dispalys that i cannot find in the code, i have looked for it the best possible way, but cannot figure out.can somebody help?
Here is the error:
[php]Parse error: syntax error, unexpected ‘<<’ (T_SL) in C:\wamp\www\onlinestore\showcart.php on line 49[/php]
here is the script
[php]
Your Shopping Cart
"; $get_cart_sql = "SELECT st.id, si.item_title, si.item_price, st.sel_item_qty, st.sel_item_size, st.sel_item_color FROM store_shoppertrack AS st LEFT JOIN store_items AS si ON si.id = st.set_item_id WHERE session_id = '".$_COOKIE['PHPSESSID']."'"; $get_cart_res = mysqli_query($mysqli, $get_cart_sql) or die(mysqli_error($mysqli)); if (mysqli_num_rows($get_cart_res) < 1) { $display_block .= "You have no items in your cart. Please continue to shop
"; } else { $display_block .= <<<END_OF_TEXTTitle | Size | Color | Price | Qty | Total Price | Action |
---|---|---|---|---|---|---|
$item_title |
$item_size |
$item_color |
\$ $item_price |
$item_qty |
\$ $total_price | remove |