Tuesday, 15 June 2010

MYSQL is not returning DISTINCT values from database (php) -


I have used the following code to return the specific residual form of my database

  $ distinctraceid = Mysqli_query ($ db, 'Choose' raceid 'from tomitogds order' raceid '); While $ $ $ 2 (mysquely_fetch_are ($ different chorid)) {$ Lower Gray 2 ['Recipe']. "& Lt; br / & gt;"; }  

Although the output shows all the IDs?

621441 621441 621442 621441 621442 621443 621441 621442 621443 621444 621441

table scheme

  ID int (255) No PRI Null Auto_Increase Resinat Ent (11) No Tilt Date varchar (250) Yes tap Reset varchar (25) No null 

Select your query

  Select TCTCID ASC by the DISTINCT tc.Corid AS TC command  

This can work.


No comments:

Post a Comment