include "../config.inc.php"; mysql_connect($host,$db_user,$db_pass) or die ("Problème lors de la connexion à la base de données..."); $search_query = "select * from astuces"; if($ref) $search_query.= " WHERE astuces_key=$ref"; $search_query.= " order by date"; $search_result = mysql_db_query($db_name, $search_query); ?>
|