Ah, the joys of lateral thinking. Thanks Brandoe
EDIT: A further problem has arisen.
The current code is echoing out the following:
I've read enough to establish that there is a problem in that I'm not converting the data in to a usable form. My gut instinct is that mysql_fetch_array needs to be incorporated somewhere but I'm not sure how or where.
$taglist = mysql_query ("SELECT tags FROM bookmarks") or die(mysql_error());
$tags = array_unique (explode (" ", $taglist));
$numtags = count ($tags);
I've checked that I'm connected to the database, there is no problem there.
for($i = 0; $i < $numtags; $i++)
echo $tags[$i] . "<br>";