Jump to content

Include function problem


chicago

Recommended Posts

Hi,

 

I am trying to include my menu and header on my website. It seems to be picking up the pictures but not showing them.

 

My code is:

<?php 
include ("..\head.html"); 
?> 

<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td valign="top" align="left" width="90">

<?php 
include ("..\menu.html");
?>

 

My file structure is like this:

FILE menu.php

FILE head.php

FOLDER blog - FILE index.php(where the code came from)

FOLDER Images

 

The menu and head files all link to the images folder, it is showing me the name of the image but just a little red cross.

 

I hope that explains it ok. I don't knwo if i'm just missing something simple. Can anyone help? :)

Link to comment
https://forums.phpfreaks.com/topic/231606-include-function-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.