Home > Backend Development > PHP Tutorial > 那个看下 这个代码哪儿出错了 能帮忙一下吗? DV上面说是52报错

那个看下 这个代码哪儿出错了 能帮忙一下吗? DV上面说是52报错

WBOY
Release: 2016-06-13 12:10:19
Original
846 people have browsed it

那个看下 这个代码哪里出错了 能帮忙一下吗?急啊 DV上面说是52报错
nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">




内链管理




    

    

内链管理


    

当前共有记录  条,分  页显示,当前在  页                    


<script><br /><!--<br />function check_all(sel_all){<br /> var sels = document.form1.ck_js;<br /> for (var i =0; i < sels.length; i++){<br /> sels[i].checked = sel_all.checked;<br /> }<br />}<br />//--><br /></script>


             
             
             
             
             
             
            


         if(isset($_POST['submit'])&& $_POST['act']=="search"){ 
      include_once('conn.php');//引入数据库连接文件
      $sql="SELECT 'link_id','link_name','link_name' FROM `link_tal` WHERE `$searchConditon` ";
      $rst = mysql_query($sql,$conn); //执行查询
      if($rst){ //判断下查询是否成功
      while(@$row=mysql_fetch_array($rst)){ //循环输出结果,将把结果返回到$row数组中  
      foreach($product_info as $row){
            echo "";
            echo "";
            echo "";
        echo "
ID那个看下  这个代码哪儿出错了 能帮忙一下吗?  DV上面说是52报错 名    称 链    接 日    期 操    作
".$row->product_id."".$row->product_name."".$row->product_time."".anchor('updatelink.php/'.$row->link_id);
            echo "";    
        mysql_close($conn);//关闭连接以释放资源                                   
     }   
    ?>                                    

                    

                                           
                    
                     
                    
                      

      

                        

                

                

添加关键字


                      

                        信息
                         
                          
                        

                         
                          
                        

                      

                      

                       
                      
                      

                

            

       

   

>


------解决思路----------------------
echo "".$row->product_id."";
echo "".$row->product_name."";
echo "".$row->product_time."";
echo "".anchor('updatelink.php/'.$row->link_id);
你那样取数组值可以吗?是我孤陋寡闻了吗?
是不是应该这样写$row['product_id']
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template