header("Content-type: application/vnd.ms-excel"); header("Content-Disposition: attachment; filename=excel.xls"); session_start(); if(!$_SESSION['id']) { header("Location: login.php"); } include("conexion.inc.php"); include ("calendario/calendario.php"); include ("funciones_fecha.php"); //session_name("ot"); //session_start(); ?> if($_GET['tipo']=='proveedores' && $_GET['act']=='exportar'){ $cadena="select * from proveedores"; $consulta=mysql_query($cadena,$cn); if($arreglo=mysql_fetch_array($consulta)){ ?>
Listado General de Proveedores |
Razon Social |
Direccion |
N° Tlf 1 |
N° Tlf 2 |
N° Tlf 3 |
RUC |
|
| echo $arreglo['c_nombre']; ?> | echo $arreglo['c_direccion'];?> | echo $arreglo['c_tel1']; ?> | echo $arreglo['c_tel2']; ?> | echo $arreglo['c_tel3']; ?> | echo $arreglo['c_ruc']; ?> | |