I need a PHP script that automatically exports the content of table to a MS-Excel worksheet and automatically sends this worksheet to e-mail recipient(s):
- Cells of worksheet must be able to be formatted, eg: first row (titles) bold, alignment, cell width.
- Export based on table query
- Posibility to exclude/skip certain fields (predefined in script)
- Easily adjustable to be used on other table
- Script will be triggered by Cron job.
- Written in PHP (must work on PHP4 and 5)