Forum Moderators: coopster
Ok so I have my data in a db.
and I have an excel file that is formated the way she wants it. so I export the data from excel to .csv and the mysql data to .csv and compair the two(OMG what a difference)
Now I'm trying to create a script that will make the mysql data look like the stuff that comes out of excel.
My problem is the line breaks in the csv from excel they apear as rectangles. how do I get php to echo those (unicode?)rectangles?
Sarah
Or just copy them and paste :)
But as I recall my excel reads this:
while ($row = mysql_fetch_assoc($result)) {
$csv .= implode(";", $row)."\n";
}
best regards
Michal Cibor
PS. The problem with excel might be that eg. in Poland the separator is ; and , is for numbers, whereas in England , is a separator and for numbers is a . (dot).
See you round!
And best regards
Michal Cibor