Jump to content

Directory help


butzie225

Recommended Posts

Ok. I have a question, I have this code:

<link href="./default.css" rel="stylesheet" type="text/css" media="screen" />
<div id="sidebar1" class="sidebar">
		<ul>
			<li>
				<h2><a href="./bots/">Bots</a></h2>
				<ul>
					<li><img src="./images/icons/combat.png" alt="xFighter Image"/>  <a href="./bots/fighter/">xFighter </a><img src="./images/star.gif" alt="Star" title="Top-Seller"/ ></li>
                                                <li><img src="./images/icons/slayer.png" alt="xFighter Image"/>  <a href="./bots/slayer/">xSlayer</a></li>
				</ul>
			</li>
		</ul>
	</div>

In my main directory, file name called leftmenu.php.

Now, in /bots/index.php I call:

<?php include('../leftmenu.php')?>

But, whenever I open my bots/index.php, all the images are the text alts, how do I fix this?

Link to comment
https://forums.phpfreaks.com/topic/173352-directory-help/
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.