...

View Full Version : quick question about my code



embalmedlenin
01-10-2004, 07:14 PM
can someone tell me where i mess up this code. because i cant find it.


<html>
<head>
<title>Hello php world</title>
</head>
<body>
<div class="header">
<?php include("header.php"); ?>
</div>

<div class="menu">
<?php include("menubar.php)"; ?>
</div>

div class="content">
<?php include("content.php"); ?>
</div>

div class="footer">
<?php include("footer.php"); ?>
</div>
</body>
</html>

Nightfire
01-10-2004, 07:21 PM
<html>
<head>
<title>Hello php world</title>
</head>
<body>
<div class="header">
<?php include("header.php"); ?>
</div>

<div class="menu">
<?php include("menubar.php)"; ?>
</div>

<div class="content">
<?php include("content.php"); ?>
</div>

<div class="footer">
<?php include("footer.php"); ?>
</div>
</body>
</html>

Spookster
01-10-2004, 07:59 PM
I only see one right here



<div class="menu">
<?php include("menubar.php)"; ?>
</div>


You have the quotation mark outside of the include function parenthesis when it should be inside like this



<div class="menu">
<?php include("menubar.php"); ?>
</div>

embalmedlenin
01-10-2004, 09:51 PM
It worked thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum