thewood68 Posted January 29, 2008 Share Posted January 29, 2008 ok so basically im populating an array from a mysql field where the text can be the same or be different and then printing it into a selectable html list but i dont want to have 20 repeats if one already exists... what would be the best way to handle this? thanks Link to comment https://forums.phpfreaks.com/topic/88340-solved-multiple-instances/ Share on other sites More sharing options...
harristweed Posted January 29, 2008 Share Posted January 29, 2008 http://es.php.net/function.array-unique Link to comment https://forums.phpfreaks.com/topic/88340-solved-multiple-instances/#findComment-452081 Share on other sites More sharing options...
thewood68 Posted January 29, 2008 Author Share Posted January 29, 2008 should have known, thanks. Link to comment https://forums.phpfreaks.com/topic/88340-solved-multiple-instances/#findComment-452082 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.