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 Quote 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 Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/88340-solved-multiple-instances/#findComment-452082 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.