Jump to content

php includes


wezze

Recommended Posts

I just started to use the include code i made my index page

 

<!doctype html>
<html lang="en">
<head>
<title>Mc Bevers nl</title>
<meta name="keywords" content=" " />
<meta name="description" content=" " />
<meta charset="utf-8" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--<link rel="stylesheet" type="text/css" href="css/styles.css" />-->
<!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="script.js"></script>-->
<!--lightbox-->
<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
<link rel="stylesheet" href="lightbox/css/lightbox.css" type="text/css" media="screen">
<!--end lightbox-->
</head>
<body>
<div id="wrapper">
<nav>
	<ul class="lang"><?php include("includes/lang_nl.php"); ?></ul>		
        <ul class="menu"><?php include("includes/menu_nl.php"); ?></ul>
</nav>
	<header>
        	<h1><a title="html5 template" href="index_nl.php">Mc Bevers</a></h1>
        </header>
	<section id="main" class="clearfix">
	<section id="content">
		<article>
                <img alt="Logo" src="../images/Logo.jpg" /></a>
            </article>
            <article><?php include("includes/article1_nl.php"); ?></article>
        </section>
            <aside id="sidebar">
                <h3>Links</h3>
                <ul class="clearfix"><?php include("includes/side_menu_nl.php"); ?></ul>
		</aside>
       </section>
<footer>
	<section id="footertop">
            <aside class="footer-column"><?php include("includes/footercolum1_nl_info.php"); ?></aside>
            <aside class="footer-column"><?php include("includes/footercolum2_nl_info.php"); ?></aside>
	</section>
        <!--<section id="copyright"></section>-->
        <section id="banners">
		<ul class="banners"><?php include("includes/sponsor1_nl.php"); ?></ul>
	</section>
<br>
	<section id="templatecopy"><?php include("includes/templatecopy.php"); ?></section>
    </footer>
</div>
</body>
</html>

 

made the include pages but my menu doesnt work if i click it i get <--The requested URL /test/test/leden_nl_p1.php was not found on this server.-->

this is the code of the menu

 

<li><a title="home" href="../index_nl.php">Home</a></li>
<li><a title="Leden" href="../leden_nl_p1.php">Leden</a></li>
<li><a title="Album" href="../album_nl.php">Album</a></li>
<li><a title="Kalender" href="../kalender_nl.php">Kalender</a></li>
<li><a title="Contact" href="../contact_nl.php">Contact</a></li>

 

the include files are in a folder includes and everything is .php

any ideas what im doing wrong here?

 

thx

Link to comment
https://forums.phpfreaks.com/topic/263625-php-includes/
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.