Cheap Flights to
Cheap Flights
$lettre){ echo "".strtoupper($lettre)." - "; } echo ""; echo "
"; echo "
"; if($_GET['lettre']!="") { $o_compagnies = new compagnies(); if($_GET['lettre']!="0-9") { $resComp = $o_compagnies->compagniesListeAlphatmp($_GET['lettre']); } else { $resComp = $o_compagnies->compagniesListeAlphaChiffre(); } $rowComp = mysql_fetch_assoc($resComp); $nbResultatCompagnies = mysql_num_rows($resComp); echo "

"; $nbElementsColonnes = ceil($nbResultatCompagnies/4)+1; //echo $nbElementsColonnes; while($rowComp = mysql_fetch_array($resComp)) { $idCompagnies = $rowComp[idCompagnies]; $compagnies = $rowComp[compagnies]; if($i%4==0) { echo "
"; } else { echo "
"; } echo "".$compagnies."
"; echo "
"; $i++; } } /* VERSION 1 TOUTES LSE COMPAGNIES $t_chaine = explode(",",$chaine); foreach($t_chaine as $cle => $lettre){ $o_compagnies = new compagnies(); $resComp = $o_compagnies->compagniesListeAlphatmp($lettre); $rowComp = mysql_fetch_assoc($resComp); $nbResultatCompagnies = mysql_num_rows($resComp); echo "
"; echo "".$lettre.""; echo "

"; $nbElementsColonnes = ceil($nbResultatCompagnies/4)+1; //echo $nbElementsColonnes; while($rowComp = mysql_fetch_array($resComp)) { $idCompagnies = $rowComp[idCompagnies]; $compagnies = $rowComp[compagnies]; if($i%4==0) { echo "
"; } else { echo "
"; } echo "".$compagnies."
"; echo "
"; $i++; } }*/ ?>