Bonjur,
je rencontre depuis un certain temp cette erreur: "Warning: Cannot use a scalar value as an array ", et je sais pas d'ou ça vient!
 
voici le bout de code:
 
$h=0;    
$p="SELECT * FROM PRIX,HOTEL WHERE  
        HOTEL.id_hotel=PRIX.id_hotel  
         and HOTEL.id_hotel=$id_hotel
 	and PRIX.date_dep >='$datt'  
 	and PRIX.date_fin <='$dateret'
        ORDER BY PRIX.date_dep ";  
$pi=mysql_query($p)or die('Erreur SQL !<br>'.$p.'<br>'.mysql_error());
 	while ($pri=mysql_fetch_array($pi))
   {  
   	$pris[$h]=$pri['prix_adulte'];
   	$dep[$h]=$pri['date_dep'];
   	$fin[$h]=$pri['date_fin'];
   	$sup[$h]=$pri['sup_single'];
   	$h++;
   }