Código HTML:
<head>
<title><?php echo $title ?> - Acuario Arrecife</title>
</head>
<body>
<?php
$gen = $_GET['gen'];
switch($gen) {
case 'acuar':
$title = Productos acuario;
break;
case 'fish':
$title = Productos peces;
break;
case 'cats':
$title = Productos gatos;
break;
case 'peluq':
$title = Productos Peluqueria;
break;
default:
$title = ;
}
?>
<p><a href="?gen=acuar">Acuario</a></p>
<p><a href="?gen=fish">Peces</a></p>
<p><a href="?gen=cats">Gatos</a></p>
<p><a href="?gen=peluq">Peluqueria </a></p>
</body>
</html>
Me aparece este error:
Parse error: parse error in C:\Xampp\htdocs\index.php on line 16
¿Que hay mal?
Gracias,