Agnisr Posted November 7, 2006 Author Report Share Posted November 7, 2006 Laikam kaarteejais manis uzdotais mulkiigais jautaajums, bet nu tomeer nezinu risinaajumu. Taatad ir mysql pieprasiijums, viss sancee, bet es nez kaa izvadiit datus, vajag saadaa sheemaa: data1 data2 data3 data3 data5 data6 data7 data8 data9 Taatad, vajag lai peec triis rezultaatu izvades vinjs taisa <br />, skaidrs, ka jaaizmanto cikls, bet es nez uz kuru pusi taustiit lai izziistu nosaciijumu, sorry, ja jautaajums dumjs, bet nu esmu tikai iesaaceejs Link to comment Share on other sites More sharing options...
andrisp Posted November 7, 2006 Report Share Posted November 7, 2006 (edited) Viens variants: $cnt = 0; while ($x < 100) { if ($cnt == 3) { echo '<br />'; $cnt = 0; } $cnt++; // Izvadam datus } Edited November 7, 2006 by andrisp Link to comment Share on other sites More sharing options...
Agnisr Posted November 7, 2006 Author Report Share Posted November 7, 2006 sorry, bet kas ir domaats ar $x, iisti nevaru iebraukt! Link to comment Share on other sites More sharing options...
andrisp Posted November 7, 2006 Report Share Posted November 7, 2006 Vaj, tas tur nav paredzēts. Liec tur savu $row = mysql_fetch_assoc($result); vai nu kā tu dari. Link to comment Share on other sites More sharing options...
Agnisr Posted November 7, 2006 Author Report Share Posted November 7, 2006 Uhh, viena kibele peec kibeles. taatad, tagad kibele ar noformeejumu. Vajag panaakt kaut ko saadu: ------------------- aaa | bb | cc | aa2 | b2 | c2 | tie dati ir iekš list un tiek izvadīti pa trim, pie CSS meeginu <li> pieskirt width: 200px; bet sis vinju ignoree, ja ieksh li iipasiibaam ir display: inline; ja ir display: block; viss korekti, bet tas man neder Kaa piespiest <li> izplesties tos 200px? Link to comment Share on other sites More sharing options...
andrisp Posted November 7, 2006 Report Share Posted November 7, 2006 Inline elementiem nav platuma. Tie ir tik plati, cik plats ir tā saturs. Tam ko tu gribi taisīt, vairāk izskatās, ka jāizmanto tabulas nev listes. Link to comment Share on other sites More sharing options...
Agnisr Posted November 7, 2006 Author Report Share Posted November 7, 2006 viss atrisinaats: biku ciitiigaak paraknjaajos netaa un atradu taadu fiicu kaa display: table-cell; Link to comment Share on other sites More sharing options...
Recommended Posts