I have to create an excel spreadsheet via HTML.
I have no problem creating it but I don't know how is possible to use the hyperlink property that allow me to show a value into a cell and link that cell with an http URL.
How is possible ??
I create an excel spreadsheet in this way:
<?PHP
$filename = "sheet.xls";
header ("Content-Type: application/vnd.ms-excel");
header ("Content-Disposition: inline; filename=$filename");
?>
<table border="1">
<?PHP
for ($i=1; $i<11; $i++)
{
echo "<tr>";
for ($x=1; $x<11;$x++)
{
$r = $i * $x;
echo "<td>$r</td>";
}
echo "</tr>";
}
?>
</table>
All works fine, I'm able to open xls file with excel but I'm not able to use the yperlink property for a td. In other word I'm not able to show e.g First_data into a cell and open an hpp page like "
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.