Jump to content

problem with "include"


einstein2_THAILAND

Recommended Posts

<?php include('head.php');?>   
<div id="content">
<?php include('mainmenu.php');?><div align='right' id='loading' style='visibility:hidden'>กำลังเรียกดูข้อมูลครับ  รอหน่อยนะครับ.........</div>
      <div id="column1">
<?php include('menu1.php');?>       
<?php include('menu2.php');?>     
<?php include('menu3.php');?>       
      </div>
  <div id="column2">
<?php include('content.php');?>
  </div>
    </div>
<?php include('footer.php');?>   


the lastest include (<?php include('footer.php');?>  )  didn't show any warning ir error but it's  do not show any contents.
Link to comment
Share on other sites

Yes!  I already upload footer.php to the server.
This is footer.php
[code]
<div id="footer">
  &copy 2006 ไชยยุทธ เพชรไพทูรย์ | <a href="mailto:einstien2@hotmail.com">einstein2@hotmail.com</a><br>
<a href="http://www.freedomain.co.nr/" target="_blank">
<img src="image/conr.gif" width="88" height="31" border="0" alt="Free Domains at .co.nr" /></a>
  </div>
  </div>
</body>
</html>
[/code]

The div tag match with the head.php

Help me please.....
Link to comment
Share on other sites

I think your problem come from "content.php" file.
Take a look at output html
[code]
***
***
</div>       
<div class="dashborder">
          <h4>hello again</h4>
          <!-- **** เผื่อมีอะไรดี ๆ ก็จะได้แนะนำตรงนี้**** -->
  huhu haha hihi
</div>       
      </div>
  <div id="column2">
       ไม่สามารถเชื่อมต่อได้
[/code]

It means there is something wrong with "content.php" (maybe about the connection to MySQL, i guess)

The solution is try to comment out [code=php:0]<?php include('content.php');?>[/code] then check output again.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.