Foros del Web » Programando para Internet » PHP »

trabajar php con excel

Estas en el tema de trabajar php con excel en el foro de PHP en Foros del Web. hola a todos. Tengo entendido que se puede abrir una hoja de calculo desde una pagina php, pero es posible que una vez abierta la ...
  #1 (permalink)  
Antiguo 04/08/2006, 16:17
Avatar de ing_aprendiz  
Fecha de Ingreso: septiembre-2005
Mensajes: 136
Antigüedad: 18 años, 7 meses
Puntos: 0
trabajar php con excel

hola a todos. Tengo entendido que se puede abrir una hoja de calculo desde una pagina php, pero es posible que una vez abierta la hoja de calculo se puedan registrar datos en ella y que además estos datos puedan ser descargados en una tabla de mi base de datos mysql? se puede hacer esto en php?

recibo cualquier aporte

tengo el siguiente código:

Código PHP:
<?php
header
("Content-Type: application/vnd.ms-excel");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
?>
Código HTML:
<html>
<head>
<title>Excel Spreadsheet</title>
 
</head>
<body>
<table width="304" border="1" cellspacing="0" cellpadding="2" align="center">
 <!--DWLayoutTable-->
     <tr>
      <td width="151" height="22">&nbsp;</td>
      <td width="139">&nbsp;</td>
  <tr align="center" bgcolor="#FFFF00">
    <td height="22" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
  <tr>
    <td height="40" align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td align="left" valign="top" bgcolor="#FF9900"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
  <tr>
    <td height="40" align="right" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td align="left" valign="top" bgcolor="#FF9900"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
  <tr>
    <td height="30" align="right" valign="top">
    Total:    </td>
    <td align="left" valign="top" bgcolor="#FF0000">
     <font color="#FFFF00" size="5" face="Arial, Helvetica, sans-serif"><strong>=SUM(B2:B3)</strong></font> </td>
  </tr>
  <tr>
   <td height="24"></td>
   <td></td>
  </tr>
</table>
</body>
</html> 
  #2 (permalink)  
Antiguo 04/08/2006, 22:36
Avatar de jpogsistem  
Fecha de Ingreso: diciembre-2001
Mensajes: 2.405
Antigüedad: 22 años, 4 meses
Puntos: 4
http://www.forosdelweb.com/showthrea...ighlight=excel
__________________
EL LIMITE ES EL UNIVERSO
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 03:24.