jon4433 Posted March 23, 2012 Share Posted March 23, 2012 Like the title says. I have 4 of the same number in my database, but I only want my website to display one of the 4. How can I do something like this? Link to comment https://forums.phpfreaks.com/topic/259564-4-of-the-same-number-in-the-database-but-only-want-to-show-one-of-them/ Share on other sites More sharing options...
smerny Posted March 23, 2012 Share Posted March 23, 2012 cant be specific since you weren't really... but your keyword will be DISTINCT SELECT DISTINCT column FROM table Link to comment https://forums.phpfreaks.com/topic/259564-4-of-the-same-number-in-the-database-but-only-want-to-show-one-of-them/#findComment-1330511 Share on other sites More sharing options...
jon4433 Posted March 23, 2012 Author Share Posted March 23, 2012 Thank you. Works fine now Link to comment https://forums.phpfreaks.com/topic/259564-4-of-the-same-number-in-the-database-but-only-want-to-show-one-of-them/#findComment-1330517 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.