lvspeedy Posted April 5, 2004 Report Share Posted April 5, 2004 Piedod ja sis te jautaajums jau atkaartojas, bet es sodien nomociijos, nezinu kaa dabuut no mysql aaraa tiesi man vajadziigo rindu :blink: Link to comment Share on other sites More sharing options...
bubu Posted April 5, 2004 Report Share Posted April 5, 2004 tas gan ir labais! :D datus no mysql vienkaarshaakaa gadiijumaa dabuu aaraa ar 'SELECT * FROM tavatabula' Link to comment Share on other sites More sharing options...
Aleksejs Posted April 5, 2004 Report Share Posted April 5, 2004 WHERE nosaciijums_lai_atgrieztu_vienu_rindu Link to comment Share on other sites More sharing options...
bubu Posted April 5, 2004 Report Share Posted April 5, 2004 ORDER BY peec_kaa_sakaartot :) Link to comment Share on other sites More sharing options...
Aleksejs Posted April 5, 2004 Report Share Posted April 5, 2004 LIMIT 0, 1 //Lai toč būtu tikai viena rinda :P Link to comment Share on other sites More sharing options...
lvspeedy Posted April 6, 2004 Author Report Share Posted April 6, 2004 =) nu jaa bet kas pie tee nosaciijuma man jaaraksta? where un kas taalaak jaanoraada kuru rindu grib? tipa ja nesaprataat, tad taa... visus datus no mysql esnolasiit maaku, bet kad paariet uz naakamo lamu es gribeet izdrukaat rindu, kas saakas piemeeram ar id =1 Link to comment Share on other sites More sharing options...
lvspeedy Posted April 6, 2004 Author Report Share Posted April 6, 2004 sorry, es paarkery, viss ok paldies jums Link to comment Share on other sites More sharing options...
lvspeedy Posted April 7, 2004 Author Report Share Posted April 7, 2004 puisi a driikst nemt veeilreiz to lielo masiivu ar tabulaam un lasiiit, kameer ir atrast man vajadziigaa rinda un peec tam izdrukaat to? Tas nenoslogo datu baazi? Link to comment Share on other sites More sharing options...
hu_ha Posted April 7, 2004 Report Share Posted April 7, 2004 nu tu vareetu paraadiit savu datu baazes/tabulas struktuuru un tad nodefineet jautaajumu - ko tu no taas tabulas(aam) gribi dabuut araa.. citaadaak tu saac te ne par teemu runaat.. Link to comment Share on other sites More sharing options...
bubu Posted April 8, 2004 Report Share Posted April 8, 2004 nu ko tu darbojies ar taam DB, ja tev nemaz sajeegas nav par to darbiibas principu! datubaazes tabulaam nav taada jeedziena kaa n-taa rinda. tabulas rindaam nav piekaartots nekaads kaartas nummurs (nejaukt ar primary key!). ja gribi dabuut to rindu kur id=1, tad taa arii raksti: "SELECT * FROM tabula WHERE id=1" :) iesaku palasiit vispirms kaadus manuaaljus par DB, un tad tikai uzdod shaada veida jautaajumus :) Link to comment Share on other sites More sharing options...
Ugga Posted April 8, 2004 Report Share Posted April 8, 2004 piekriitu Link to comment Share on other sites More sharing options...
sviesc Posted April 8, 2004 Report Share Posted April 8, 2004 http://www.phpfreaks.com/ http://www.w3schools.com/ vai kur citur ir atrodami visādi manuali par sql :blink: Link to comment Share on other sites More sharing options...
des Posted April 8, 2004 Report Share Posted April 8, 2004 all things starts from www.google.lv :rolleyes: Link to comment Share on other sites More sharing options...
Ugga Posted April 8, 2004 Report Share Posted April 8, 2004 es personiigi iemaaciijos bez manuaalja, vienkaarshi piemeeru paarkopee uztaisi db un skaties kas notiek. Link to comment Share on other sites More sharing options...
sviesc Posted April 8, 2004 Report Share Posted April 8, 2004 tas jau atkarīgs no tā cik tālu esi gatavs minēt pateizo sintaxi :D Link to comment Share on other sites More sharing options...
Recommended Posts