
bowen73
-
Posts
15 -
Joined
-
Last visited
Community Answers
-
bowen73's post in export csv from mysql using phpexcel help was marked as the answer
Ive got it.... I changed the line to this and it seams to have worked. just need to get phpexcel to export to 2 decimal places now. thanks for pointing me in the right direction, very much appreciated :-)
->setCellValue('F'.$i,$row['prod_sell_override']>0 ? $row['prod_sell_override'] : $row['prod_trade']*100/70)