Devils666 Posted May 18, 2009 Report Share Posted May 18, 2009 (edited) Taisu tādu nelielu lapu un man radās problēma ar atlasīšanu. Kā lai panāku, ka tie logi sadalas rindas pa 4 un pa lapam, lai viss nebutu kopa? (ka zemak noraditaja bilde) koda fragments(butiba galvenais kas attiecas uz to): $iegut_kk = mysql_query("SELECT * FROM `piemeram` ORDER BY `kk_loga` DESC") or die(mysql_error()); while ($user = mysql_fetch_array($iegut_kk)) { echo "TABULAS LOGI NO SEJINES; Edited May 18, 2009 by Devils666 Quote Link to comment Share on other sites More sharing options...
kechums Posted May 18, 2009 Report Share Posted May 18, 2009 Visvieglāk to panākt būtu ar div'iem, izmērīt, kādu garumu vienam div'am vajag, lai būtu pa 4. <div style="float:left;width:attiecigais-platums">viens tabulas logs</div> Quote Link to comment Share on other sites More sharing options...
Devils666 Posted May 18, 2009 Author Report Share Posted May 18, 2009 Jā, paldies :), izskatas ka šis derēs, bet kā lai dabunu pa atsevišķam lapam? Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted May 18, 2009 Report Share Posted May 18, 2009 Skaties Foruma tēmu apkopojumā - pēc atslēgas vārdiem sadalīšana pa lapām. Quote Link to comment Share on other sites More sharing options...
Devils666 Posted May 18, 2009 Author Report Share Posted May 18, 2009 :O :O tur daudz labu lietu, paldies! :) mekleju pec atslegvardiem, bet nu šo nebiju atradis... 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.