Take this code as an example:
$number_of_products=count($_POST['prodcode']);
for ( $i=0; $i<$number_of_products; $i++){
$orderdetails.= $_POST['prodcode'][$i]." has the meterage: ".$_POST['meterage'][$i]."<br/>";
}
How can i put each line produced on a new line without using BR. IE so when its printed by the HTML its output is like:
LINE1
LINE2
I assume your talking about the source code?
cause
\ncreates a new line in a text but not ina html page