'; foreach (preg_split("/[\s,]*,[\s,]*/", $tags) as $tag) { if ($tag !== '') { fof_tag_feed(fof_current_user(), $feed['feed_id'], $tag); $error .= 'Tagged \''.htmlspecialchars($feed['feed_title']).'\' as '.htmlspecialchars($tag).'
'; } } if (preg_match('/HTTP 401/', $error)) { print ""; } print $error;