Wie kan mij vertellen wat ik fout doe?
Dit is mijn script (index.php_
<html>
<head>
<title>Index</title>
</head>
<body>
<table width="90%" bgcolor="#EEEEEE">
<tr>
<td>
<?php
include('menu.php');
?>
</td>
</tr>
<tr>
<td>
<?php
switch (strtolower($_GET['page']))
{
case "tutorial":
include("tutorial.php");
break;
case "scripts":
include("scripts.php");
break;
default:
include("default.php");
break;
}
?>
</td>
</tr>
</table>
</body>
</html>
en dit is de "Warning" die ik krijg op mijn localhost:
::tutorials:: ::scripts::
Warning: include(default.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\index.php on line 36
Warning: include() [function.include]: Failed opening 'default.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\index.php on line 36
Alvast bedankt
1.087 views