dAivEd Posted August 31, 2009 Report Share Posted August 31, 2009 Datubaze ir skaitļi - 1 - 2 - 3 - 2 - 2 - 1 - 3 Vai var uztaisit ta lai izvada vienreiz 1 vienreiz 2 un vienreiz 3 ( lai skaitļi neatkartojas ) ? Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted August 31, 2009 Report Share Posted August 31, 2009 SELECT DISTINCT kolonna FROM tabula; Quote Link to comment Share on other sites More sharing options...
dAivEd Posted August 31, 2009 Author Report Share Posted August 31, 2009 (edited) Ar vardiem tapat ? Jo man nesanak.. tukshumu izvada... Edited August 31, 2009 by bubu Lūdzu nevajag taisīt bezjēdzīgas QUOTEs Quote Link to comment Share on other sites More sharing options...
bubu Posted August 31, 2009 Report Share Posted August 31, 2009 Kļūdas pārbaudīji? $result = mysql_query(...) or die(mysql_error()); Quote Link to comment Share on other sites More sharing options...
Kemito Posted August 31, 2009 Report Share Posted August 31, 2009 bubu - Cik zināms, mūsdienās lielākoties visi jaunie koderi tai skaitā es kuri vēl mācas to nedra( nu es daru ) ka pieliek klāt tīri lai redz, kāda kļūda, bet vienkārši, uzmet kveriju un brīnas kapēc neiet! Quote Link to comment 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.