无法理解这个分析问题

这个问题在这里已经有了答案:

  • PHP解析/语法错误; 以及如何解决它们? 13个答案

  • 你没有在echo连接...在这些行内改变函数调用和回声:

    <a href="listaigraca.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-users fa-2x"></i></div><div class="texttipka">LISTA IGRACA&emsp;<span class="_51lp _5ugg _5ugh _3-99" id="u_0_1a">' <?php echo GetPlayersCount($con); ?> '</span></div></div></a>
    <a href="oglasi.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-newspaper-o fa-2x"></i></div><div class="texttipka">LISTA OGLASA&emsp;<span class="_51lp _5ugg _5ugh _3-99" id="u_0_1a">'<?php echo GetAdCount($con); ; ?>'</span></div></div></a>
    <a href="alltickets.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-question-circle fa-2x"></i></div><div class="texttipka">SUPPORT TIKETI&emsp;<span class="_51lp _5ugg _5ugh _3-99" id="u_0_1a">'<?php echo GetTicketCount($con); ;?>'</span></div></div></a>
    

    <a href="listaigraca.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-users fa-2x"></i></div><div class="texttipka">LISTA IGRACA&emsp;<span class="_51lp _5ugg _5ugh _3-99" id="u_0_1a">' . GetPlayersCount($con) . '</span></div></div></a>
    <a href="oglasi.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-newspaper-o fa-2x"></i></div><div class="texttipka">LISTA OGLASA&emsp;<span class="_51lp _5ugg _5ugh _3-99" id="u_0_1a">' . GetAdCount($con) . '</span></div></div></a>
    <a href="alltickets.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-question-circle fa-2x"></i></div><div class="texttipka">SUPPORT TIKETI&emsp;<span class="_51lp _5ugg _5ugh _3-99" id="u_0_1a">' . GetTicketCount($con) . '</span></div></div></a>
    

    不要在已有的<?php ?>嵌套<?php echo $x ?> <?php ?>


    问题在于你有一个字符串内的<?php ... ?>语句,它已经存在于<?php ... ?>块中。 如果你有大量的HTML发送,而不是回显它,你可以关闭PHP标签,就像这样:

    <?php
    session_start();
    include('functions.php');
    
    $username = $_SESSION['login_admin'];
    $username=mysqli_real_escape_string($con, $username);
    
    ?>
    
    <div class="cp_text">
    <h3>ADMIN CONTROL PANEL</h3>
    
    </div>
    
    <div class="izbornik">
      <a href="pocetna.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-home fa-2x"></i></div><div class="texttipka">HOME</div></div></a>
      <a href="addnews.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-plus-square-o fa-2x"></i></div><div class="texttipka">DODAJ VEST</div></div></a>
      <a href="listaigraca.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-users fa-2x"></i></div><div class="texttipka">LISTA IGRACA&emsp;<span class="_51lp _5ugg _5ugh _3-99" id="u_0_1a">' <?php echo GetPlayersCount($con); ?> '</span></div></div></a>
      <a href="oglasi.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-newspaper-o fa-2x"></i></div><div class="texttipka">LISTA OGLASA&emsp;<span class="_51lp _5ugg _5ugh _3-99" id="u_0_1a">'<?php echo GetAdCount($con); ; ?>'</span></div></div></a>
      <a href="alltickets.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-question-circle fa-2x"></i></div><div class="texttipka">SUPPORT TIKETI&emsp;<span class="_51lp _5ugg _5ugh _3-99" id="u_0_1a">'<?php echo GetTicketCount($con); ;?>'</span></div></div></a>
      <a href="stats.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-bookmark fa-2x"></i></div><div class="texttipka">ZAHTEVI ZA UNBAN</div></div></a>
      <a href="stats.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-credit-card fa-2x"></i></div><div class="texttipka">BILLING LISTA</div></div></a>
      <a href="stats.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-adn fa-2x"></i></div><div class="texttipka">DODAJ UREDNIKA</div></div></a>
      <a href="pocetna.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-forumbee fa-2x"></i></div><div class="texttipka">FORUM</div></div></a>
      <a href="logout.php"><div class="tipka"><div class="slika"><i style="text-align: center; width: 25px;" class="fa fa-close fa-2x"></i></div><div class="texttipka">LOGOUT</div></div></a>
    </div>
    
    链接地址: http://www.djcxy.com/p/69673.html

    上一篇: can't understand this parsing issue

    下一篇: PHP header already sent error, not a whitespace error