<?php $str = <<< END 2x egg 2 - carrot cabbage 1x potato END; $lines = explode("\n", $str); foreach($lines as $line) { echo $line; }
You have javascript disabled. You will not be able to edit any code.