estoy xampp es muy error
Código PHP:
Warning: require(sec-contacto.php) [function.require]: failed to open stream: No such file or directory in C:xampphtdocsPHPindex.php on line 7
Fatal error: require() [function.require]: Failed opening required 'sec-contacto.php' (include_path='.;\xampp\php\PEAR') in C:xampphtdocsPHPindex.php on line 7
Código PHP:
<?php
$seccion = $_GET["seccion"];
switch ($seccion) {
case 'contacto':
require("sec-contacto.php");
break;
default:
require("sec-inicio.php");
break;
}
?>