Hi all,
I have some code that returns data and uses "explode" to break it into segments. Using a "foreach" loop I can display the results on separate lines.
$tags = explode('-',$row_Lookup['Comments1']);
foreach($tags as $key) {
$words = explode(' ', $key);
echo '<br/><span class="managername">'.$words[0].' '.$words[1].'</span><br/>'.implode(' ', array_slice($words, 2)).'<br />';
}
because there could be a lot of data returned is there a way to put the result in a scrollable box (textarea" or a scrollavle DIV and maintain the line breaks.
Any help would be great.
Cheers,
Blackbox