include("conexion.php"); $codigo=$_REQUEST['codigo']; $tipo_producto=$_REQUEST['tipo_producto']; $result_oper1= mysql_db_query ("dssdr9_2019","select * from tipo_producto where cod_tipo='$tipo_producto'"); $operacion1=mysql_fetch_array($result_oper1); $activo=mysql_db_query("dssdr9_2019", "select * from producto where cod_p='$codigo'" ); $detalle1=mysql_fetch_array($activo); $fotografia= mysql_db_query ("dssdr9_2019","select * from fotos where cod_p='$detalle1[cod_p]'"); $fotografia1=mysql_fetch_array($fotografia); ?>