Location: PHPKode > projects > PHD Help Desk > include/sector_select.inc
    Nombre: sector_select.inc
    Autor: Julio Tuozzo
    FunciĆ³n: Rescata de la base de datos los valores del sector a modificar
    Function: Retrieve of the data base the values of the sector to modify
    Ver: 2.00

## Busco los datos en la base.
// Search in the data base

  $query="SELECT *
          FROM {$MyPHD}sector
          WHERE sector_id='$sector_id'";

  $result=mysql_query($query) or die (mysql_error());
  $row = mysql_fetch_array($result);

### inicializo las variables

foreach($row as $clave => $valor)


    if ($row['activo']=="S")

Return current item: PHD Help Desk