if (isset($_POST['ref'])){ $sSQL="SELECT * FROM bioderm WHERE ref='".$_POST['ref']."'"; $result=mysql_query($sSQL); $row=mysql_fetch_array($result); }