session_start();
//$url = "http://linux-srvprod/final/sites_PHP/locauto2007_editlio/";
include 'inc_php/config.php';
include 'inc_php/cnx.php';
$cat = $_GET['cat'];
$ville = $_GET['ville'];
// $cat = 'location_voiture';
// $ville = 'Cannes';
$query_infos = mysql_query("SELECT agences.*, categorie.* FROM agences, categorie, linker WHERE categorie.nom_ref='$cat' AND agences.ville_ref='$ville'");
$val_info = mysql_fetch_array($query_infos);
$id_cat = $val_info['id_categorie'];
$id_agence = $val_info['id_agence'];
//header('Content-type: image/jpg');echo $val_info['photo_small'];echo $val_info['photo_small'];
?>
avec Locauto