Im receiving the following error:
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given 
Im receiving the following error:
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given 
 
    
    $getholidays isnt the result of getholidayrequest()or
mysql_query() will also fail and return FALSE if the user does not have permission to access the table(s) referenced by the query 
    
    you should check the mysql_query return value
$result = mysql_query('SELECT * WHERE 1=1');
if (!$result) {
    die('Requête invalide : ' . mysql_error());
}
