rubygirl Posted April 21, 2005 Share Posted April 21, 2005 $products_ordered .= (' . $order->products[$i]['model'] . ') ."\n" . $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n"; i am getting a parse error here and can't see what i did wrong... Link to comment Share on other sites More sharing options...
Simmy Posted April 21, 2005 Share Posted April 21, 2005 $products_ordered .= (' . $order->products[$i]['model'] . ') ."\n" . $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n";i am getting a parse error here and can't see what i did wrong... <{POST_SNAPBACK}> Try:- $products_ordered .= '(' . $order->products[$i]['model'] . ')' ."\n" . $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n"; Link to comment Share on other sites More sharing options...
rubygirl Posted April 21, 2005 Author Share Posted April 21, 2005 nope - still getting a parse error - thanks though for taking a look! Link to comment Share on other sites More sharing options...
Rob123 Posted April 21, 2005 Share Posted April 21, 2005 Find my untested attempt to help below: $products_ordered .= "('" . $order->products[$i]['model'] . "')\n" . $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n"; Robert Link to comment Share on other sites More sharing options...
Simmy Posted April 21, 2005 Share Posted April 21, 2005 nope - still getting a parse error - thanks though for taking a look! <{POST_SNAPBACK}> I tested it and it works. Did you get the same parse error or a different one? Maybe try it again! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.