Hi all,
I am trying to work out how to apply css formatting to the first two words in a string.
I have a foreach statement:
$tags = explode('-',$row_IncidentLookup['OutCome']);
foreach($tags as $key) {
echo $key.'<br/>';
}
The explode uses "-" to split each comment on to a new line.
the result looks like this (example):
John Doe this a a test comment
Jane Doe this is another test comment
Dave Doe and another test comment
Is it possible to use CSS to format the first two words with different colour.
Any help would be great.
Cheers, BlackBox