Jump to content

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
https://forums.phpfreaks.com/topic/30213-problem-with-include/#findComment-138952
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
https://forums.phpfreaks.com/topic/30213-problem-with-include/#findComment-138969
Share on other sites

I think this is related to the fact that the code's not actually on http://einstein2.co.nr it's on http://einstein2.saiyaithai.org/einstein2/footer.php

You possibly have path issues.  Maybe you could post all the code for these few pages?

Regards
Huggie
Link to comment
https://forums.phpfreaks.com/topic/30213-problem-with-include/#findComment-138990
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
https://forums.phpfreaks.com/topic/30213-problem-with-include/#findComment-139018
Share on other sites

แต่เอ๊ะ  คุณ  "mansuang" คนไทยเหรอครับ  มิน่าชื่อถึงแปลก ๆ 
ขอ msn  หน่อยได้มั้ยครับ  ผมคิดว่าข้อความนี้คุณคงอ่านรู้เรื่อง
Link to comment
https://forums.phpfreaks.com/topic/30213-problem-with-include/#findComment-139091
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.