• 12-03-2009, 14:13:55
    #1
    aşağıdaki kodda bulunan <?=$author_name;?> değerini alt alta nasıl yazdırabilirim ?

    <?
    //session_start();
    include "../ayar.php";
    
    ?>
    <?
                              $query2 = "SELECT * FROM users WHERE status = 5";
                              $result2 = mysql_query ($query2) or die ("error");
                              while ($line2 = mysql_fetch_array($result2)){
                              $picture = $line2[picture1];
                              $author_name = $line2[name];
    						  //$numara = $line2[a_articles.id];
    						  //$konu = $line2[a_articles.subject];
                              //}
                              ?>
    
    
    <img height=60 src="/pictures/authors/<?=$picture;?>" width=43
                      border=0>
    <?
                              $query3 = "SELECT * FROM a_articles where sender = ". $line2[id] ."";
                              $result3 = mysql_query ($query3) or die ("error");
                              while ($line3 = mysql_fetch_array($result3)){	?>
    <a class=yazar href="a_article_view.php?idx=<?=$line3[id];?>"><b>
    <?=$line3[subject];?>
    </b></a>
    <?=$author_name;?>
    <?
    }
    ?>
    
    <?
    }
    ?>
  • 12-03-2009, 14:40:02
    #2
    Eposta Aktivasyonu Gerekmekte
    <?=$author_name;?> <br />

    Çok karışık kodların, istediğin umarım budur.
  • 12-03-2009, 20:13:01
    #3
    <?=$author_name?> <br />
    ; koymanıza gerek yok
  • 12-03-2009, 21:01:04
    #4
    Kimlik doğrulama veya yönetimden onay bekliyor.
    <?php
    echo $author_name."<br>";
    ?>