Ir al contenido


Foto

No puedo generar excel con php y postgresql


  • Por favor identifícate para responder
1 respuesta en este tema

#1 hjorge01

hjorge01

    Newbie

  • Miembros
  • Pip
  • 1 mensajes

Escrito 16 julio 2013 - 06:20

No puedo generar excel con php y postgres, debo habilitar algun modulo?? con apache de vertrigo funciona pero con el apache de postgresql no
este es el codigo:
<?
header("Content-type: application/vnd.ms-excel; name='excel'");
header("Content-Disposition: filename=ficheroExcel.xls");
header("Pragma: no-cache");
header("Expires: 0");

?>


<div id="main">

<h2><center>
  Listado de Usuarios
</center></h2>
<br>


<div class="data">
  <table width="100%" id="formulario" border="1">
    <tr id="cabecera">
      <th width="70">Nro.</th>
      <th width="94">Nombre Completo</th>
      <th width="186">Telefono</th>
      <th width="179">Email</th>
      <th width="217">Tipo Usuario</th>
      <th width="217"> Usuario</th>
      </tr>
    </tr>
  </table>
</div>

</div>
Gracias
  • 0

#2 poliburro

poliburro

    Advanced Member

  • Administrador
  • 4.945 mensajes
  • LocationMéxico

Escrito 17 julio 2013 - 07:55

No veo error en el código. ¿Podrías decirnos que error te aparece?
  • 0




IP.Board spam blocked by CleanTalk.