shaileshcrestinfotech / php-excel

Automatically exported from code.google.com/p/php-excel
MIT License
0 stars 0 forks source link

PHP excel xml report creating using loops #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
hello,
First, i want to thanks for author for very usefull code :).
I sow problem and can't fix it.

when i use loop like this
for ($i=1; $i<5; $i++){
echo"<Row><Cell ss:StyleID=\"s52\"><Data ss:Type=\"String\"> 
</Data><NamedCell ss:Name=\"Print_Area\"/>$i</Cell></Row>";
}
everthing generate ok, but if i use

for ($i=1; $i<11; $i++){
echo"<Row><Cell ss:StyleID=\"s52\"><Data ss:Type=\"String\"> 
</Data><NamedCell ss:Name=\"Print_Area\"/>$i</Cell></Row>";
} 
everthing is stoping and broke excel report generation. How need to fix it?

please help..

thanks in advance

Original issue reported on code.google.com by D.Idzel...@gmail.com on 5 Aug 2007 at 10:48

GoogleCodeExporter commented 8 years ago
I am really sorry, but generally by using the library you should not need to 
echo the
rows yourself. How do you create this problem or better: In which contexts is 
the
problem created.

In the library I wanted to avoid using set fields like NamedCell or attributes 
like
ss:StyleID (this should be done afterwards manually).

How can I help you in this?

Original comment by oliver.s...@gmail.com on 10 Sep 2009 at 3:58