<?php if(isset($_GET['detail']) && !empty($_GET['detail'])){ $det = (int)$_GET['detail']; } /*database connect*/ $det = mysql_real_escape_string($det); $req mysql_query("select * from produits where id_produit'".$det."' limit 1"); while($data=mysql_fetch_array($req)){ $data['id_produit'].' '; $data['description'].' '; $data['lien_image'].' '; /* etc ...*/ }?>