my version of PHP does not include the array_unique() function or foreach. How can I remove all duplicates from an array without using these methods? Thanks!
for($index=0; $index<count($SubSxns); $index++){ $prev_Sxn = ($index - 1); $prev_Sxn = $SubSxns[$prev_Sxn]; $this_Sxn = $SubSxns[$index]; if($this_Sxn != $prev_Sxn){ $SubSxn[] = $this_Sxn; } }