Is it possible to export a table from a site to an excel document? But with the new format, I've seen code similar to this:
<?php
header('Content-type: application/vnd.ms-excel');
header("Content-Disposition: attachment; filename=InformeVentas.xls");
?>
But I have tried it and it exports to excel 97-2003 format. Is there a way to do it with the new format (.xlsx) but without using libraries such as PHPExcel or PHPSpreadSheet, just using the php code.
I must tell you that I have not found such a way, I recommend you to use PhpSpreadSheet
easy and simple example:
Hello, I don't know the middle, but I need help, I have a web page where I load a number and it throws a .php file on another tab, my question is the following, do you know if there is a possibility if loading that number in excel Does it return the value or values of the .php that one needs? I don't know if I was clear, I hope you can help me