3v4l.org

run code in 300+ PHP versions simultaneously
<?php include('../administracion/conexion.php'); if ($_POST) { $id = $_POST['name_id']; $no_identificacion = $_POST['name_no_identificacion']; $uso = $_POST['name_uso']; $no_pisos = $_POST['name_no_pisos']; $id_mezz = $_POST['name_mezzanine']; $id_estruc_princ = $_POST['name_estruc_princ']; if ($id) { $forma = 'insertar.php'; $sql='SELECT * FROM codigos '; $where = "WHERE id='$id' "; $cod = mysql_query($sql. $where, $con); if (!$cod) {echo "No se puedo efectaur la consulta de datos"; mysql_close($con); exit; } while ($filacod = mysql_fetch_array($cod)) { $sede=$filacod['sede']; $departamento=$filacod['departamento']; $municipio=$filacod['municipio']; } } else { $forma = 'captura.php'; } } else { $forma = 'captura.php'; } print("<form action = $forma method = 'post' name = 'formulario'>"); $colspan = '2'; print("<table align = 'center'>"); print("<tr><td align='right' colspan = '$colspan'><font color = 'red'><b>* = Campos obligatorios.</b></font></td></tr>"); print("<tr bgcolor='#D3DCE3'>"); print("<td align = 'center' colspan = '$colspan'><b>Estudio Sena</b></td>"); print("</tr>"); print("<tr>"); print("<td>C&oacute;digo<font color = 'red'><b> * </b></font></td>"); $sql = "SELECT * FROM codigos "; if ('$id') { $where = " "; } else { $where = "WHERE id=$id "; } $order = "ORDER BY id "; $cod = mysql_query($sql. $where. $order, $con); if (!$cod) { echo "No se puedo efectaur la consulta"; mysql_close($con); exit; } print("<td>"); print("<select name = 'name_id' onchange = 'submit()'>"); if (!$id) { print("<option value = ''> -- Seleccione Opci&oacute;n -- "); } while ($fila = mysql_fetch_array($cod)) { if ('$id' == $fila['id']) { print("<option value = '$fila[id]'>$fila[id] | $fila[sede]"); } else { print("<option value = '$fila[id]'>$fila[id] | $fila[sede]"); } } print("</select>"); print("</td>"); print("</tr>"); print("<tr>"); print("<td>Sede</td>"); print("<td><input name='sede' type='text' size='100' maxlength='100' value='$sede' readonly></td>"); print("</tr>"); print("<tr>"); print("<td>Departamento</td>"); print("<td><input name='departamento' type='text' size='50' maxlength='50' value='$departamento' readonly></td>"); print("</tr>"); print("<tr>"); print("<td>Municipio</td>"); print("<td><input name='municipio' type='text' size='50' maxlength='50' value='$municipio' readonly></td>"); print("</tr>"); print("<tr>"); print("<td>No. identificaci&oacute;n</td>"); print("<td><input name='name_no_identificacion' type='text' size='50' maxlength='50' value='$no_identificacion'></td>"); print("</tr>"); print("<tr>"); print("<td>Uso</td>"); print("<td><input name='name_uso' type='text' size='50' maxlength='50' value='$uso'></td>"); print("</tr>"); print("<tr>"); print("<td>No. Pisos</td>"); print("<td><input name='name_no_pisos' type='text' size='50' maxlength='50' value='$no_pisos'></td>"); print("</tr>"); print("<tr>"); print("<td>Mezzanine<font color = 'red'><b> * </b></font></td>"); $sql = "SELECT id AS id_mezz, descripcion FROM sino "; $where = " "; $order = "ORDER BY id_mezz "; $sino = mysql_query($sql. $where. $order, $con); if (!$sino) { echo "No se puedo efectaur la consulta"; mysql_close($con); exit; } print("<td>"); print("<select name = 'name_mezzanine'>"); if (!$id_mezz) { print("<option value = ''> -- Seleccione Opci&oacute;n -- "); } while ($filamezz = mysql_fetch_array($sino)) { print("<option value = '$filamezz[id_mezz]'>$filamezz[descripcion]"); } print("</select>"); print("</td>"); print("</tr>"); print("<tr>"); print("<td>Estructura Principal<font color = 'red'><b> * </b></font></td>"); $sql = "SELECT id AS id_estruc_princ, descripcion FROM estruc_princ "; $where = " "; $order = "ORDER BY id_estruc_princ "; $estpri = mysql_query($sql. $where. $order, $con); if (!$estpri) { echo "No se puedo efectaur la consulta"; mysql_close($con); exit; } print("<td>"); print("<select name = 'name_estruc_princ'>"); if (!$id_estruc_princ) { print("<option value = ''> -- Seleccione Opci&oacute;n -- "); } while ($filaestpri = mysql_fetch_array($estpri)) { print("<option value = '$filaestpri[id_estruc_princ]'>$filaestpri[descripcion]"); } print("</select>"); print("</td>"); print("</tr>"); print("</table>"); if ($id) { print("<p align = 'center'><input name = 'agregar' type = 'submit' value = 'Agregar'> <input type='button' value='Volver' onClick='history.go(-1);'>"); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 56
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 54
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 41
Branch analysis from position: 36
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 41
1 jumps found. (Code = 42) Position 1 = 48
Branch analysis from position: 48
2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 42
Branch analysis from position: 53
1 jumps found. (Code = 42) Position 1 = 55
Branch analysis from position: 55
1 jumps found. (Code = 42) Position 1 = 57
Branch analysis from position: 57
2 jumps found. (Code = 43) Position 1 = 77, Position 2 = 79
Branch analysis from position: 77
1 jumps found. (Code = 42) Position 1 = 83
Branch analysis from position: 83
2 jumps found. (Code = 43) Position 1 = 93, Position 2 = 98
Branch analysis from position: 93
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 98
2 jumps found. (Code = 43) Position 1 = 102, Position 2 = 103
Branch analysis from position: 102
1 jumps found. (Code = 42) Position 1 = 128
Branch analysis from position: 128
2 jumps found. (Code = 44) Position 1 = 133, Position 2 = 104
Branch analysis from position: 133
2 jumps found. (Code = 43) Position 1 = 192, Position 2 = 197
Branch analysis from position: 192
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 197
2 jumps found. (Code = 43) Position 1 = 201, Position 2 = 202
Branch analysis from position: 201
1 jumps found. (Code = 42) Position 1 = 210
Branch analysis from position: 210
2 jumps found. (Code = 44) Position 1 = 215, Position 2 = 203
Branch analysis from position: 215
2 jumps found. (Code = 43) Position 1 = 232, Position 2 = 237
Branch analysis from position: 232
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 237
2 jumps found. (Code = 43) Position 1 = 241, Position 2 = 242
Branch analysis from position: 241
1 jumps found. (Code = 42) Position 1 = 250
Branch analysis from position: 250
2 jumps found. (Code = 44) Position 1 = 255, Position 2 = 243
Branch analysis from position: 255
2 jumps found. (Code = 43) Position 1 = 260, Position 2 = 261
Branch analysis from position: 260
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 261
Branch analysis from position: 243
2 jumps found. (Code = 44) Position 1 = 255, Position 2 = 243
Branch analysis from position: 255
Branch analysis from position: 243
Branch analysis from position: 242
Branch analysis from position: 203
2 jumps found. (Code = 44) Position 1 = 215, Position 2 = 203
Branch analysis from position: 215
Branch analysis from position: 203
Branch analysis from position: 202
Branch analysis from position: 104
2 jumps found. (Code = 43) Position 1 = 107, Position 2 = 118
Branch analysis from position: 107
1 jumps found. (Code = 42) Position 1 = 128
Branch analysis from position: 128
Branch analysis from position: 118
2 jumps found. (Code = 44) Position 1 = 133, Position 2 = 104
Branch analysis from position: 133
Branch analysis from position: 104
Branch analysis from position: 103
Branch analysis from position: 79
2 jumps found. (Code = 43) Position 1 = 93, Position 2 = 98
Branch analysis from position: 93
Branch analysis from position: 98
Branch analysis from position: 42
2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 42
Branch analysis from position: 53
Branch analysis from position: 42
Branch analysis from position: 54
1 jumps found. (Code = 42) Position 1 = 57
Branch analysis from position: 57
Branch analysis from position: 56
2 jumps found. (Code = 43) Position 1 = 77, Position 2 = 79
Branch analysis from position: 77
Branch analysis from position: 79
filename:       /in/28TZC
function name:  (null)
number of ops:  262
compiled vars:  !0 = $id, !1 = $no_identificacion, !2 = $uso, !3 = $no_pisos, !4 = $id_mezz, !5 = $id_estruc_princ, !6 = $forma, !7 = $sql, !8 = $where, !9 = $cod, !10 = $con, !11 = $sede, !12 = $filacod, !13 = $departamento, !14 = $municipio, !15 = $colspan, !16 = $order, !17 = $fila, !18 = $sino, !19 = $filamezz, !20 = $estpri, !21 = $filaestpri
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INCLUDE_OR_EVAL                                          '..%2Fadministracion%2Fconexion.php', INCLUDE
    4     1        FETCH_R                      global              ~23     '_POST'
          2      > JMPZ                                                     ~23, ->56
    6     3    >   FETCH_R                      global              ~24     '_POST'
          4        FETCH_DIM_R                                      ~25     ~24, 'name_id'
          5        ASSIGN                                                   !0, ~25
    7     6        FETCH_R                      global              ~27     '_POST'
          7        FETCH_DIM_R                                      ~28     ~27, 'name_no_identificacion'
          8        ASSIGN                                                   !1, ~28
    8     9        FETCH_R                      global              ~30     '_POST'
         10        FETCH_DIM_R                                      ~31     ~30, 'name_uso'
         11        ASSIGN                                                   !2, ~31
    9    12        FETCH_R                      global              ~33     '_POST'
         13        FETCH_DIM_R                                      ~34     ~33, 'name_no_pisos'
         14        ASSIGN                                                   !3, ~34
   10    15        FETCH_R                      global              ~36     '_POST'
         16        FETCH_DIM_R                                      ~37     ~36, 'name_mezzanine'
         17        ASSIGN                                                   !4, ~37
   11    18        FETCH_R                      global              ~39     '_POST'
         19        FETCH_DIM_R                                      ~40     ~39, 'name_estruc_princ'
         20        ASSIGN                                                   !5, ~40
   13    21      > JMPZ                                                     !0, ->54
   15    22    >   ASSIGN                                                   !6, 'insertar.php'
   17    23        ASSIGN                                                   !7, 'SELECT+%2A+FROM+codigos+'
   18    24        ROPE_INIT                                     3  ~45     'WHERE+id%3D%27'
         25        ROPE_ADD                                      1  ~45     ~45, !0
         26        ROPE_END                                      2  ~44     ~45, '%27+'
         27        ASSIGN                                                   !8, ~44
   19    28        INIT_FCALL_BY_NAME                                       'mysql_query'
         29        CONCAT                                           ~48     !7, !8
         30        SEND_VAL_EX                                              ~48
         31        SEND_VAR_EX                                              !10
         32        DO_FCALL                                      0  $49     
         33        ASSIGN                                                   !9, $49
   21    34        BOOL_NOT                                         ~51     !9
         35      > JMPZ                                                     ~51, ->41
         36    >   ECHO                                                     'No+se+puedo+efectaur+la+consulta+de+datos'
         37        INIT_FCALL_BY_NAME                                       'mysql_close'
         38        SEND_VAR_EX                                              !10
         39        DO_FCALL                                      0          
         40      > EXIT                                                     
   23    41    > > JMP                                                      ->48
   25    42    >   FETCH_DIM_R                                      ~53     !12, 'sede'
         43        ASSIGN                                                   !11, ~53
   26    44        FETCH_DIM_R                                      ~55     !12, 'departamento'
         45        ASSIGN                                                   !13, ~55
   27    46        FETCH_DIM_R                                      ~57     !12, 'municipio'
         47        ASSIGN                                                   !14, ~57
   23    48    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
         49        SEND_VAR_EX                                              !9
         50        DO_FCALL                                      0  $59     
         51        ASSIGN                                           ~60     !12, $59
         52      > JMPNZ                                                    ~60, ->42
         53    > > JMP                                                      ->55
   33    54    >   ASSIGN                                                   !6, 'captura.php'
         55    > > JMP                                                      ->57
   38    56    >   ASSIGN                                                   !6, 'captura.php'
   41    57    >   ROPE_INIT                                     3  ~64     '%3Cform+action+%3D+'
         58        ROPE_ADD                                      1  ~64     ~64, !6
         59        ROPE_END                                      2  ~63     ~64, '+method+%3D+%27post%27+name+%3D+%27formulario%27%3E'
         60        ECHO                                                     ~63
   43    61        ASSIGN                                                   !15, '2'
   44    62        ECHO                                                     '%3Ctable+align+%3D+%27center%27%3E'
   45    63        ROPE_INIT                                     3  ~68     '%3Ctr%3E%3Ctd+align%3D%27right%27+colspan+%3D+%27'
         64        ROPE_ADD                                      1  ~68     ~68, !15
         65        ROPE_END                                      2  ~67     ~68, '%27%3E%3Cfont+color+%3D+%27red%27%3E%3Cb%3E%2A+%3D+Campos+obligatorios.%3C%2Fb%3E%3C%2Ffont%3E%3C%2Ftd%3E%3C%2Ftr%3E'
         66        ECHO                                                     ~67
   46    67        ECHO                                                     '%3Ctr+bgcolor%3D%27%23D3DCE3%27%3E'
   47    68        ROPE_INIT                                     3  ~71     '%3Ctd+align+%3D+%27center%27+colspan+%3D+%27'
         69        ROPE_ADD                                      1  ~71     ~71, !15
         70        ROPE_END                                      2  ~70     ~71, '%27%3E%3Cb%3EEstudio+Sena%3C%2Fb%3E%3C%2Ftd%3E'
         71        ECHO                                                     ~70
   48    72        ECHO                                                     '%3C%2Ftr%3E'
   49    73        ECHO                                                     '%3Ctr%3E'
   50    74        ECHO                                                     '%3Ctd%3EC%26oacute%3Bdigo%3Cfont+color+%3D+%27red%27%3E%3Cb%3E+%2A+%3C%2Fb%3E%3C%2Ffont%3E%3C%2Ftd%3E'
   52    75        ASSIGN                                                   !7, 'SELECT+%2A+FROM+codigos+'
   54    76      > JMPZ                                                     '%24id', ->79
         77    >   ASSIGN                                                   !8, '+'
         78      > JMP                                                      ->83
         79    >   ROPE_INIT                                     3  ~76     'WHERE+id%3D'
         80        ROPE_ADD                                      1  ~76     ~76, !0
         81        ROPE_END                                      2  ~75     ~76, '+'
         82        ASSIGN                                                   !8, ~75
   56    83    >   ASSIGN                                                   !16, 'ORDER+BY+id+'
   57    84        INIT_FCALL_BY_NAME                                       'mysql_query'
         85        CONCAT                                           ~80     !7, !8
         86        CONCAT                                           ~81     ~80, !16
         87        SEND_VAL_EX                                              ~81
         88        SEND_VAR_EX                                              !10
         89        DO_FCALL                                      0  $82     
         90        ASSIGN                                                   !9, $82
   59    91        BOOL_NOT                                         ~84     !9
         92      > JMPZ                                                     ~84, ->98
         93    >   ECHO                                                     'No+se+puedo+efectaur+la+consulta'
         94        INIT_FCALL_BY_NAME                                       'mysql_close'
         95        SEND_VAR_EX                                              !10
         96        DO_FCALL                                      0          
         97      > EXIT                                                     
   61    98    >   ECHO                                                     '%3Ctd%3E'
   62    99        ECHO                                                     '%3Cselect+name+%3D+%27name_id%27+onchange+%3D+%27submit%28%29%27%3E'
   64   100        BOOL_NOT                                         ~86     !0
        101      > JMPZ                                                     ~86, ->103
        102    >   ECHO                                                     '%3Coption+value+%3D+%27%27%3E+--+Seleccione+Opci%26oacute%3Bn+--+'
   66   103    > > JMP                                                      ->128
   68   104    >   FETCH_DIM_R                                      ~87     !17, 'id'
        105        IS_EQUAL                                                 ~87, '%24id'
        106      > JMPZ                                                     ~88, ->118
   70   107    >   ROPE_INIT                                     6  ~93     '%3Coption+value+%3D+%27'
        108        FETCH_DIM_R                                      ~89     !17, 'id'
        109        ROPE_ADD                                      1  ~93     ~93, ~89
        110        ROPE_ADD                                      2  ~93     ~93, '%27%3E'
        111        FETCH_DIM_R                                      ~90     !17, 'id'
        112        ROPE_ADD                                      3  ~93     ~93, ~90
        113        ROPE_ADD                                      4  ~93     ~93, '+%7C+'
        114        FETCH_DIM_R                                      ~91     !17, 'sede'
        115        ROPE_END                                      5  ~92     ~93, ~91
        116        ECHO                                                     ~92
        117      > JMP                                                      ->128
   74   118    >   ROPE_INIT                                     6  ~100    '%3Coption+value+%3D+%27'
        119        FETCH_DIM_R                                      ~96     !17, 'id'
        120        ROPE_ADD                                      1  ~100    ~100, ~96
        121        ROPE_ADD                                      2  ~100    ~100, '%27%3E'
        122        FETCH_DIM_R                                      ~97     !17, 'id'
        123        ROPE_ADD                                      3  ~100    ~100, ~97
        124        ROPE_ADD                                      4  ~100    ~100, '+%7C+'
        125        FETCH_DIM_R                                      ~98     !17, 'sede'
        126        ROPE_END                                      5  ~99     ~100, ~98
        127        ECHO                                                     ~99
   66   128    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
        129        SEND_VAR_EX                                              !9
        130        DO_FCALL                                      0  $103    
        131        ASSIGN                                           ~104    !17, $103
        132      > JMPNZ                                                    ~104, ->104
   77   133    >   ECHO                                                     '%3C%2Fselect%3E'
   78   134        ECHO                                                     '%3C%2Ftd%3E'
   79   135        ECHO                                                     '%3C%2Ftr%3E'
   80   136        ECHO                                                     '%3Ctr%3E'
   81   137        ECHO                                                     '%3Ctd%3ESede%3C%2Ftd%3E'
   82   138        ROPE_INIT                                     3  ~106    '%3Ctd%3E%3Cinput+name%3D%27sede%27+type%3D%27text%27+size%3D%27100%27+maxlength%3D%27100%27+value%3D%27'
        139        ROPE_ADD                                      1  ~106    ~106, !11
        140        ROPE_END                                      2  ~105    ~106, '%27+readonly%3E%3C%2Ftd%3E'
        141        ECHO                                                     ~105
   83   142        ECHO                                                     '%3C%2Ftr%3E'
   84   143        ECHO                                                     '%3Ctr%3E'
   85   144        ECHO                                                     '%3Ctd%3EDepartamento%3C%2Ftd%3E'
   86   145        ROPE_INIT                                     3  ~109    '%3Ctd%3E%3Cinput+name%3D%27departamento%27+type%3D%27text%27+size%3D%2750%27+maxlength%3D%2750%27+value%3D%27'
        146        ROPE_ADD                                      1  ~109    ~109, !13
        147        ROPE_END                                      2  ~108    ~109, '%27+readonly%3E%3C%2Ftd%3E'
        148        ECHO                                                     ~108
   87   149        ECHO                                                     '%3C%2Ftr%3E'
   88   150        ECHO                                                     '%3Ctr%3E'
   89   151        ECHO                                                     '%3Ctd%3EMunicipio%3C%2Ftd%3E'
   90   152        ROPE_INIT                                     3  ~112    '%3Ctd%3E%3Cinput+name%3D%27municipio%27+type%3D%27text%27+size%3D%2750%27+maxlength%3D%2750%27+value%3D%27'
        153        ROPE_ADD                                      1  ~112    ~112, !14
        154        ROPE_END                                      2  ~111    ~112, '%27+readonly%3E%3C%2Ftd%3E'
        155        ECHO                                                     ~111
   91   156        ECHO                                                     '%3C%2Ftr%3E'
   92   157        ECHO                                                     '%3Ctr%3E'
   93   158        ECHO                                                     '%3Ctd%3ENo.+identificaci%26oacute%3Bn%3C%2Ftd%3E'
   94   159        ROPE_INIT                                     3  ~115    '%3Ctd%3E%3Cinput+name%3D%27name_no_identificacion%27+type%3D%27text%27+size%3D%2750%27+maxlength%3D%2750%27+value%3D%27'
        160        ROPE_ADD                                      1  ~115    ~115, !1
        161        ROPE_END                                      2  ~114    ~115, '%27%3E%3C%2Ftd%3E'
        162        ECHO                                                     ~114
   95   163        ECHO                                                     '%3C%2Ftr%3E'
   96   164        ECHO                                                     '%3Ctr%3E'
   97   165        ECHO                                                     '%3Ctd%3EUso%3C%2Ftd%3E'
   98   166        ROPE_INIT                                     3  ~118    '%3Ctd%3E%3Cinput+name%3D%27name_uso%27+type%3D%27text%27+size%3D%2750%27+maxlength%3D%2750%27+value%3D%27'
        167        ROPE_ADD                                      1  ~118    ~118, !2
        168        ROPE_END                                      2  ~117    ~118, '%27%3E%3C%2Ftd%3E'
        169        ECHO                                                     ~117
   99   170        ECHO                                                     '%3C%2Ftr%3E'
  100   171        ECHO                                                     '%3Ctr%3E'
  101   172        ECHO                                                     '%3Ctd%3ENo.+Pisos%3C%2Ftd%3E'
  102   173        ROPE_INIT                                     3  ~121    '%3Ctd%3E%3Cinput+name%3D%27name_no_pisos%27+type%3D%27text%27+size%3D%2750%27+maxlength%3D%2750%27+value%3D%27'
        174        ROPE_ADD                                      1  ~121    ~121, !3
        175        ROPE_END                                      2  ~120    ~121, '%27%3E%3C%2Ftd%3E'
        176        ECHO                                                     ~120
  103   177        ECHO                                                     '%3C%2Ftr%3E'
  104   178        ECHO                                                     '%3Ctr%3E'
  105   179        ECHO                                                     '%3Ctd%3EMezzanine%3Cfont+color+%3D+%27red%27%3E%3Cb%3E+%2A+%3C%2Fb%3E%3C%2Ffont%3E%3C%2Ftd%3E'
  107   180        ASSIGN                                                   !7, 'SELECT+id+AS+id_mezz%2C+descripcion+FROM+sino+'
  108   181        ASSIGN                                                   !8, '+'
  109   182        ASSIGN                                                   !16, 'ORDER+BY+id_mezz+'
  110   183        INIT_FCALL_BY_NAME                                       'mysql_query'
        184        CONCAT                                           ~126    !7, !8
        185        CONCAT                                           ~127    ~126, !16
        186        SEND_VAL_EX                                              ~127
        187        SEND_VAR_EX                                              !10
        188        DO_FCALL                                      0  $128    
        189        ASSIGN                                                   !18, $128
  112   190        BOOL_NOT                                         ~130    !18
        191      > JMPZ                                                     ~130, ->197
        192    >   ECHO                                                     'No+se+puedo+efectaur+la+consulta'
        193        INIT_FCALL_BY_NAME                                       'mysql_close'
        194        SEND_VAR_EX                                              !10
        195        DO_FCALL                                      0          
        196      > EXIT                                                     
  114   197    >   ECHO                                                     '%3Ctd%3E'
  115   198        ECHO                                                     '%3Cselect+name+%3D+%27name_mezzanine%27%3E'
  117   199        BOOL_NOT                                         ~132    !4
        200      > JMPZ                                                     ~132, ->202
        201    >   ECHO                                                     '%3Coption+value+%3D+%27%27%3E+--+Seleccione+Opci%26oacute%3Bn+--+'
  119   202    > > JMP                                                      ->210
  121   203    >   ROPE_INIT                                     4  ~136    '%3Coption+value+%3D+%27'
        204        FETCH_DIM_R                                      ~133    !19, 'id_mezz'
        205        ROPE_ADD                                      1  ~136    ~136, ~133
        206        ROPE_ADD                                      2  ~136    ~136, '%27%3E'
        207        FETCH_DIM_R                                      ~134    !19, 'descripcion'
        208        ROPE_END                                      3  ~135    ~136, ~134
        209        ECHO                                                     ~135
  119   210    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
        211        SEND_VAR_EX                                              !18
        212        DO_FCALL                                      0  $138    
        213        ASSIGN                                           ~139    !19, $138
        214      > JMPNZ                                                    ~139, ->203
  123   215    >   ECHO                                                     '%3C%2Fselect%3E'
  124   216        ECHO                                                     '%3C%2Ftd%3E'
  125   217        ECHO                                                     '%3C%2Ftr%3E'
  126   218        ECHO                                                     '%3Ctr%3E'
  127   219        ECHO                                                     '%3Ctd%3EEstructura+Principal%3Cfont+color+%3D+%27red%27%3E%3Cb%3E+%2A+%3C%2Fb%3E%3C%2Ffont%3E%3C%2Ftd%3E'
  129   220        ASSIGN                                                   !7, 'SELECT+id+AS+id_estruc_princ%2C+descripcion+FROM+estruc_princ+'
  130   221        ASSIGN                                                   !8, '+'
  131   222        ASSIGN                                                   !16, 'ORDER+BY+id_estruc_princ+'
  132   223        INIT_FCALL_BY_NAME                                       'mysql_query'
        224        CONCAT                                           ~143    !7, !8
        225        CONCAT                                           ~144    ~143, !16
        226        SEND_VAL_EX                                              ~144
        227        SEND_VAR_EX                                              !10
        228        DO_FCALL                                      0  $145    
        229        ASSIGN                                                   !20, $145
  134   230        BOOL_NOT                                         ~147    !20
        231      > JMPZ                                                     ~147, ->237
        232    >   ECHO                                                     'No+se+puedo+efectaur+la+consulta'
        233        INIT_FCALL_BY_NAME                                       'mysql_close'
        234        SEND_VAR_EX                                              !10
        235        DO_FCALL                                      0          
        236      > EXIT                                                     
  136   237    >   ECHO                                                     '%3Ctd%3E'
  137   238        ECHO                                                     '%3Cselect+name+%3D+%27name_estruc_princ%27%3E'
  139   239        BOOL_NOT                                         ~149    !5
        240      > JMPZ                                                     ~149, ->242
        241    >   ECHO                                                     '%3Coption+value+%3D+%27%27%3E+--+Seleccione+Opci%26oacute%3Bn+--+'
  141   242    > > JMP                                                      ->250
  143   243    >   ROPE_INIT                                     4  ~153    '%3Coption+value+%3D+%27'
        244        FETCH_DIM_R                                      ~150    !21, 'id_estruc_princ'
        245        ROPE_ADD                                      1  ~153    ~153, ~150
        246        ROPE_ADD                                      2  ~153    ~153, '%27%3E'
        247        FETCH_DIM_R                                      ~151    !21, 'descripcion'
        248        ROPE_END                                      3  ~152    ~153, ~151
        249        ECHO                                                     ~152
  141   250    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
        251        SEND_VAR_EX                                              !20
        252        DO_FCALL                                      0  $155    
        253        ASSIGN                                           ~156    !21, $155
        254      > JMPNZ                                                    ~156, ->243
  145   255    >   ECHO                                                     '%3C%2Fselect%3E'
  146   256        ECHO                                                     '%3C%2Ftd%3E'
  147   257        ECHO                                                     '%3C%2Ftr%3E'
  150   258        ECHO                                                     '%3C%2Ftable%3E'
  152   259      > JMPZ                                                     !0, ->261
        260    >   ECHO                                                     '%3Cp+align+%3D+%27center%27%3E%3Cinput+name+%3D+%27agregar%27%09type+%3D+%27submit%27+value+%3D+%27Agregar%27%3E%0A%09%09%09%09%3Cinput+type%3D%27button%27+value%3D%27Volver%27+onClick%3D%27history.go%28-1%29%3B%27%3E'
  154   261    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.04 ms | 1423 KiB | 13 Q