Home  >  Article  >  Backend Development  >  懂PHP的进去看看

懂PHP的进去看看

WBOY
WBOYOriginal
2016-06-13 12:38:40818browse

懂PHP的进来看看
if($downhits==2)
{
echo '


  
        {loop $downfile $r}
            
  • {$r}


  •         {/loop}
            {loop $downfiles $r}
                
  • {$r}


  •         {/loop}
      
    ';
    }
    else
    {
    echo '

      
    {loop $downfile $r}
                
  • {$r}


  •         {/loop}
            {loop $downfiles $r}
                
  • {$r}


  •         {/loop}
      
    ';}
    ?>

    以上代码我在echo中输出   可是 这个$r和$downfiles 这个 貌似都没有反应 所以想问下在echo中怎么输出$r和$downfiles  也就在怎么调用或者说是语法吧
    Statement:
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn