If I have a multidimensional array, like this...
/* $myArrray[x][0] is the topic, and $myArray[x][1] is some other misc. data */
$myArray[0][0] = "My Topic 1";
$myArray[0][1] = "Some other data";
$myarray[1][0] = "My Topic 1";
$myArray[1][1] = "Some other data";
$myarray[2][0] = "My Topic 2";
$myArray[2][1] = "Some other data";
$myarray[3][0] = "My Topic 1";
$myArray[3][1] = "Some other data";
$myarray[4][0] = "My Topic 3";
$myArray[4][1] = "Some other data";
/* ... etc etc ... */
... what's the easiest way to get a list of all the topic names ("My Topic 1", "My Topic 2", "My Topic 3", etc) without repeating the same topic twice (like "My Topic 1", "My Topic 1", "My Topic 2", "My Topic 1", "My Topic 3", as it is in the array).
This might be a bit hard to understand, but it's not easy to try and explain. Hopefully someone understands.
Thanks in advance.
Edit: Sorry, wrong folder, didn't mean to put this in the Echo Lounge. My apologies.