Hi
add the newline and white space first like this
$data_printed = ;
while ($row = mysql_fetch_assoc($result)) {
if($data_printed != ){
$data_printed .= \n;
}
$data_printed = file id=\ . $row['file_id'] . \ .
$row['file_name'] . /file;
}
That will
On Wednesday, March 27, 2002, at 04:11 PM, Matt Friedman wrote:
When you have all your items in an array use implode to add a character
in between every item.
$str = implode($yourArray, $separator);
This will add the separator to the end of each string except the last
one.
I like that
On Thursday 28 March 2002 05:20, Erik Price wrote:
On Wednesday, March 27, 2002, at 04:11 PM, Matt Friedman wrote:
When you have all your items in an array use implode to add a character
in between every item.
$str = implode($yourArray, $separator);
This will add the separator to
3 matches
Mail list logo