1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| $p_titrecherch=$_POST['titrecherch'];
$p_themecher= nom2code($_POST['themecher'],"theme","theme","code_them");
$p_typecher=nom2code($_POST['typecher'],"type_ouvrage","type","code_type");
$p_auteurcher=$_POST['auteurcher'];
$p_maisoncherch=$_POST['maisoncherch'];
$p_datecherch=$_POST['datecherch'];
$p_sub=$_POST['y'];
if ( $p_sub=="submit")
{ echo $sql8="SELECT `CODE_O`, o.CODE_THEM, o.CODE_AUT, a.nom_aut, o.CODE_TYPE, `TITRE`, `MAISON_EDITION`, `DATE_APPARTION`, `NBRE_COPIEDISPO`, `NBRE_COPIETOTAL`, `URL_IMG`
FROM ouvrage o, auteur a
Where o.CODE_AUT=a.CODE_AUT
AND TITRE LIKE '%$p_titrecherch%'
AND o.code_them=$p_themecher
AND o.code_type= $p_typecher
AND a.nom_aut LIKE '%$p_auteurcher%'
AND O.MAISON_EDITION LIKE '%$p_maisoncherch%'";
....} |
Partager