$post['links'] = '';foreach (explode("\n", $post['field5']) as $link) { $post['links'] .= "<div><a href=\"$link\">$link</a></div>";}