• 03-11-2010, 19:34:59
    #1
    Üyeliği durduruldu
    Line 73, Column 5: end tag for "ul" which is not finished </ul></li>

    hatayı böyle gösteriyor.

    Alıntı
    Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
    Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.
    Kodlar

    <ol style="list-style: none; padding: 0; margin: 0px 0 0 0">
    
    <? $xx=mysql_query("select * from xx where order by id asc"); 
    while ($x=mysql_fetch_array($xx))  { 
    $xx=$x['x'];
    ?>
    
    <li><a title="xx" href="xx.html"><b><?=$x['x']?></b></a>
    
    <ul type="square" style="padding-right: 4em;">
    
    <?
    $xx=mysql_query("select * from xx where xx = '$xx'");
    while($xx=mysql_fetch_array($xx)) { ?>
    
    <li><a title="xx" href="xx.html"><?=$x['xx']?></a></li>
    
    <? }?>
    
    </ul></li>
    
    <?} ?></ol>
    Yardımcı olurmusunuz arkadaşlar.
  • 04-11-2010, 09:06:27
    #2
    <ol>
    <li>
    <ul>
    <li></li>
    </ul>
    </li>
    </ol>

    kod hiyerarşisi böyle olursa olmaması lazım. html çıktındakiyle karşılaştırıp bir bak
  • 04-11-2010, 09:41:06
    #3
    Üyeliği durduruldu
    aynen o şekilde zaten :S
  • 05-11-2010, 16:52:37
    #4
    kodda yazım yanlışı var dikkat et.

    $xx=mysql_query("select * from xx where order by id asc"); 
    while ($x=mysql_fetch_array($xx))  {
    bu kodu kapatmadan;

     
    $xx=mysql_query("select * from xx where xx = '$xx'");
    while($xx=mysql_fetch_array($xx)) {
    bu kodu açmışsın. muhtemelen aşağıdakini yazdığında düzelecektir.

     
    <ol style="list-style: none; padding: 0; margin: 0px 0 0 0">
    <? $xx=mysql_query("select * from xx where order by id asc"); 
    while ($x=mysql_fetch_array($xx))  { 
    $xx=$x['x'];
    ?>
    <li><a title="xx" href="xx.html"><b><?=$x['x']?></b></a>
    <ul type="square" style="padding-right: 4em;">
    <? }
    $xx=mysql_query("select * from xx where xx = '$xx'");
    while($xx=mysql_fetch_array($xx)) { ?>
    <li><a title="xx" href="xx.html"><?=$x['xx']?></a></li>
    <? } ?>
    </ul></li>
    </ol>