//catalogue/articles.php --> articles /* * keep for CVS * $nd : is set if $key is a detail id. */ //init. include("../config.inc.php"); //connect to db db_connect(); //conf this page $location = "Fiche téchnique."; //init db request if (!isset($details)) { if ( !$selectSQL = mysql_query("select * from articles where articles_key=$key") ) { //report error echo "[wood] : error proceeding db request"; exit(); } } else { if ( !$selectSQL = mysql_query("select * from articles_details where details_key=$key")) { //report error echo "[wood] : error proceeding db request on details table"; exit(); } } $details_result = mysql_fetch_array($selectSQL); $page_title = "ACM, Détails de ".$details_result["titre"]."."; ?>