Quote
billybobjr wrote :
matty wrote :
billybobjr wrote :
lyk this way or antoher way
-------------------------
billybobjr wrote :
matty wrote :
should have fixed it XD
-------------------------
billybobjr wrote :
test
-------------------------
matty wrote :
billybobjr wrote :
lyk this way or antoher way
-------------------------
billybobjr wrote :
matty wrote :
should have fixed it XD
-------------------------
billybobjr wrote :
test
-------------------------
should be
Quote
billybobjr wrote :
lyk this way or antoher way
-------------------------
matty wrote :
should have fixed it XD
-------------------------
billybobjr wrote :
test
-------------------------
lyk this way or antoher way
-------------------------
matty wrote :
should have fixed it XD
-------------------------
billybobjr wrote :
test
-------------------------
this is the code.
$subject = "RE: ".$dbdata['subject'];
$str = $dbdata['message'];
$chars = preg_split('/-------------------------/', $str, -1, PREG_SPLIT_OFFSET_CAPTURE);
$message = "";
$count = count($chars);
for($x=0;$x<$count;$x++){
$array = $chars[$x];
$message .= $dbdata['sender']." wrote : \n".$array[0]."\n -------------------------\n\n";
}
}
anyone see the problem ?

New Topic/Question
Reply




MultiQuote





|