djmartins Posted October 6, 2006 Report Share Posted October 6, 2006 Man problema tada ka izvada no db informaciju nevienada limeni.Pirmo vins izvada centra to ko vajag Virsraksts teksts un bilde bet otro id vins jau izvada lapas labaja puse kaut gan it ka ir viena tabula tas viss.Ko darit? <DIV id=layout_center_east> <DIV id=layout_center> <div align="center"> </div> <? include("config.php"); $result = mysql_query("SELECT * FROM news;", $connect); while ($res = mysql_fetch_array($result)) { ?> <DIV class=caption style4><? echo $res[1]; ?></DIV> <DIV class=infoslip><B>Datums kad:</B><? echo $res[2]; ?></DIV> <DIV class=layout_splitter></DIV> <DIV class=text> <table width="533" border="0"> <tr> <td width="418" valign="top"><? echo $res[3]; ?><br></td> <td width="76" valign="top"><? echo $res[4]; ?></td> </tr> </table> </DIV> </DIV> </DIV> </DIV> <? } ?> Link to comment Share on other sites More sharing options...
v3rb0 Posted October 6, 2006 Report Share Posted October 6, 2006 paskaties lapai view source un saskaite cik tur ir <div un cik </div>. man izskatās ka </div> būs vairāk par <div, a vajag lai būtu pēc skaita vienādi. Link to comment Share on other sites More sharing options...
IM24LV Posted October 6, 2006 Report Share Posted October 6, 2006 pareiz, nodzees vienu no peedeejiem </div> un saki kaa tad ir! Link to comment Share on other sites More sharing options...
djmartins Posted October 6, 2006 Author Report Share Posted October 6, 2006 IM24LV paldies :)) viss ir ok.Tada maza kludina un viss cupaa! Link to comment Share on other sites More sharing options...
IM24LV Posted October 6, 2006 Report Share Posted October 6, 2006 :D saki paldies verbo par to ka vinsh ieveeroja ;) es tik pateicu siikaak ka tieshi tas tev jaaizdzeesh :) Link to comment Share on other sites More sharing options...
djmartins Posted October 6, 2006 Author Report Share Posted October 6, 2006 Paldies jums abiem :) Link to comment Share on other sites More sharing options...
Recommended Posts