if ($post['postid'] == $thread['firstpostid']){ $add = '<br /><br /><div style="color:green">This is added text</div>'; $post['signature'] .= $add;}