Código PHP:
Ver original
<?php if($localhost) { { $conectado=true; } } $sql="select * from tbl_enum_hogar_01 where folio='".$_SESSION['MM_Username']."'"; $_SESSION['FOLIO_1']=$row1[0]; $_SESSION['CVE_ENT_1']=$row1[1]; $_SESSION['CVE_MUN_1']=$row1[2]; $_SESSION['CVE_AGEB_1']=$row1[3]; $_SESSION['MZA_1']=$row1[4]; $_SESSION['NUM_VIV_1']=$row1[5]; $_SESSION['HOG_01_1']=$row1[6]; $_SESSION['HOG_02_1']=$row1[7]; $_SESSION['EXTERIOR_1']=$row1[8]; $_SESSION['INTERIOR_1']=$row1[9]; $_SESSION['CP_1']=$row1[10]; $_SESSION['NUM_MIEM_1']=$row1[11]; $_SESSION['TEL_CASA_1']=$row1[12]; $_SESSION['NUM_CEL_1']=$row1[13]; $_SESSION['CORREO_1']=$row1[14]; $_SESSION['CVE_ENTRE_01_1']=$row1[15]; $_SESSION['FECHA_01_1']=$row1[16]; $_SESSION['HORA_01_1']=$row1[17]; $_SESSION['FECHA_PROX_01_1']=$row1[18]; $_SESSION['HORA_PROX_01_1']=$row1[19]; $_SESSION['CVE_ENTRE_02_1']=$row1[20]; $_SESSION['FECHA_02_1']=$row1[21]; $_SESSION['HORA_02_1']=$row1[22]; $_SESSION['FECHA_PROX_02_1']=$row1[23]; $_SESSION['HORA_PROX_02_1']=$row1[24]; $_SESSION['CVE_ENTRE_03_1']=$row1[25]; $_SESSION['FECHA_03_1']=$row1[26]; $_SESSION['HORA_03_1']=$row1[27]; $_SESSION['FECHA_PROX_03_1']=$row1[28]; $_SESSION['HORA_PROX_03_1']=$row1[29]; $_SESSION['CVE_ENTRE_04_1']=$row1[30]; $_SESSION['FECHA_04_1']=$row1[31]; $_SESSION['HORA_04_1']=$row1[32]; $_SESSION['FECHA_PROX_04_1']=$row1[33]; $_SESSION['HORA_PROX_04_1']=$row1[34]; $_SESSION['PER_18_1']=$row1[35]; $_SESSION['PER_FUMAN_1']=$row1[36]; $_SESSION['CVE_RES_1']=$row1[37]; $_SESSION['S12P0101_1']=$row1[38]; $_SESSION['S12P0102_1']=$row1[39]; $_SESSION['S12P0103_1']=$row1[40]; $_SESSION['S12P0104_1']=$row1[41]; $_SESSION['S12P0301_1']=$row1[42]; $_SESSION['S12P0302_1']=$row1[43]; $_SESSION['S12P0303_1']=$row1[44]; $_SESSION['S12P0304_1']=$row1[45]; $_SESSION['S12P0401_1']=$row1[46]; $_SESSION['S12P0402_1']=$row1[47]; $_SESSION['S12P0403_1']=$row1[48]; $_SESSION['S12P0404_1']=$row1[49]; $_SESSION['CVE_RES2_1']=$row1[50]; $_SESSION['CVE_CAP_1']=$row1[51]; $_SESSION['CVE_NOM_1']=$row1[52]; ?>
espero que me puedan ayudar de antemano les doy las gracias