Snukzz Posted October 15, 2004 Author Report Share Posted October 15, 2004 klau, ja kverijs izvada visu pa vairaakaam reizeem - kur var buut trobele? Man skiet ka vins sanjem kaut kaadu struntiigu parametru! Taa var buut? piemeeram ieraksts ir tikai viens bet izvada DW9384 - Televizors DW9384 - Televizors DW9384 - Televizors DW9384 - Televizors DW9384 - Televizors ??? Kuraa vietaa kverijs to redz? Vai arii tas ir php ciklz pie vainas? piem ... $res3=mysql_query('SELECT preces.nos, preces.art, preces.kat_id, preces.sub_kat_id, preces.id, preces.stock, preces.brends, brendi.id, brendi.nos FROM preces, brendi WHERE preces.sub_kat_id='.$sub_kat_id); while($row3=mysql_fetch_row($res3)) { ?> <A href="./?page=15&skatid=<?=$row3[3] ?>&list=<?=$row3[7] ?>"><?=$row3[8] ?></A> <? } ?></TD> Link to comment Share on other sites More sharing options...
Venom Posted October 15, 2004 Report Share Posted October 15, 2004 paskaties ko atrgiež select * from .... varbūt nepietiekami atsijā Link to comment Share on other sites More sharing options...
Snukzz Posted October 15, 2004 Author Report Share Posted October 15, 2004 vinsh atgriez visu kas ir tabulaa, karoc jaapameegjina kaut kaa nosaciijumi pareguleet... <_< Link to comment Share on other sites More sharing options...
bubu Posted October 15, 2004 Report Share Posted October 15, 2004 Izskatās, ka tev iznāk pilnais Dekarta reizinājums no brendu un preču tabulas ierakstu kopām, tb nav nosacījuma, kas sasaista brenda un preču ierakstu relācijas. Link to comment Share on other sites More sharing options...
Snukzz Posted October 18, 2004 Author Report Share Posted October 18, 2004 Taga ir - sachiniiju! Paldies Bubu, Venom - paliidzeejaat! Link to comment Share on other sites More sharing options...
Recommended Posts