excel spreadsheet writer
| From: | izgordu at uzem dot itu dot edu dot tr | Date: | Sat, 25 Aug 2007 11:34:18 +0000 |
| Subject: | excel spreadsheet writer | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-27848@lists.php.net to get a copy of this message | ||
Hi, i am trying to create an xls file using the pear class, but i have a
problem:
during the script, i record some data to xls from time to time. but if the
internet connection or electric are cut, so if the script doesn't end, i get a
blank xls file.
***************************
$xls = create a new xls
write $data1 to $xls
do other things
write $data2 to $xls
=============>>>>>> power cut hapens now
write $data3 to $xls
close $xls
*************************
in such cases i want to get the xls file including $data1 and $data2
what should i do?
thanks