| hvad er der galt her:
 
 <?php
 if (isset($_GET['p']) && in_array($_GET['p'], array_keys($validPages)) )
 &&
 file_exists("om_os/" . $_GET['p'] . ".txt")) {
 include("om_os/" . $_GET['p'] . ".txt");     }
 else {  include("om_os/default.txt");     }
 ?>
 
 .... giver : Parse error: parse error, unexpected T_BOOLEAN_AND
 
 array:
 
 <?php
 
 $validPages = array(
 'historien' => 'Vores historie',
 'vedtaegterne' => 'Vores vedtægter',
 'organisationen' => 'Organisationsdiagram',
 );
 ?>
 
 ras
 
 
 
 
 |