heb alles geprobeert niks werkt er
krijg dat CLI niet werkt en daarna apache niet
nou:
<html>
<head>
<title>Hallo Wereld</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="generator" content="HAPedit 3.1">
<?php
include('db.php');
?>
</head>
<body>
<?php
print ("Hallo Wereld");
?>
</body>
</html>
Het db.php bestand.
<?php
$db = mysql_connect('localhost','root', '');
mysql_select_db('VOORBEELD');
?>deze code voeg ik in Hapedit
Warning: include(db.php) [function.include]: failed to open stream: No such file or directory in C:\Users\jeroen\Desktop\Voor Docent\LOI\PHP 5\usb webserver\root\hello.php on line 7
Warning: include() [function.include]: Failed opening 'db.php' for inclusion (include_path='.;C:\php5\pear') in C:\Users\jeroen\Desktop\Voor Docent\LOI\PHP 5\usb webserver\root\hello.php on line 7
Hallo Wereld Het db.php bestand.
Wie kan mij helpen
Graag advies