duanmu6752 2014-09-12 23:42 采纳率: 0%
浏览 71

PHP代码不能在我的服务器上工作(但在wamp上正常工作)

php code doesn`t work on my server (but works fine on on wamp ) i uploded pages on my server all pages contain php code and run successfully only home page dose not work on the server where it run successfully on my local machine on wamp server so what can i do ti solve this problem the home page on my server

http://opvmmanagement.com/index.php

 <?php 
  require_once('admin/lib/projects.php');
  $_project = new Projects();
  $_Projects = $_project->get_all();
  $x = count($_Projects);
  for ($i=0; $i <3 ; $i++) 
  {


    echo '<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
        <div class="item_property">
            <div class="head_property">
              <a href="properties.html">
                <div class="title rent"></div>
                <img src="admin/'.$_Projects[$i]['pimage'].'" alt="Image" width="270" height="202" />
                <h5>'.$_Projects[$i]['pname'].'</h5>
              </a>
            </div>                        
            <div class="info_property">                                  
                <ul>
                    <li><strong>Place </strong><span>'.$_Projects[$i]['pplace'].'</span></li>
                    <li><strong>Price</strong><span>'.$_Projects[$i]['pprice'].'</span></li>
                </ul>                                 
            </div>
          </div>
    </div>';
  }

?>
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 Vue3 大型图片数据拖动排序
    • ¥15 划分vlan后不通了
    • ¥15 GDI处理通道视频时总是带有白色锯齿
    • ¥20 用雷电模拟器安装百达屋apk一直闪退
    • ¥15 算能科技20240506咨询(拒绝大模型回答)
    • ¥15 自适应 AR 模型 参数估计Matlab程序
    • ¥100 角动量包络面如何用MATLAB绘制
    • ¥15 merge函数占用内存过大
    • ¥15 使用EMD去噪处理RML2016数据集时候的原理
    • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大