TKW22 Posted April 22, 2009 Share Posted April 22, 2009 how do you make it so i don't duplicate output to a page heres what im askingok so if you while and $row['whatever'];how do you make it so it only echos one name oncesay heres what you put in the database tkw22tkw22and heres all you want it to echotkw22 Link to comment Share on other sites More sharing options...
Synook Posted April 22, 2009 Share Posted April 22, 2009 SELECT DISTINCT whatever FROM table Link to comment Share on other sites More sharing options...
justsomeguy Posted April 22, 2009 Share Posted April 22, 2009 You can also keep a list of what you've already printed and check it before printing each item. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.