$consulta="SELECT * FROM clientes WHERE nombrec ='$nom'";
$query = mysql_query($consulta) or die ( mysql_error());