Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default PHP's fgetcsv converting ¿0a to \n ?


Hi

PHP's 'fgetcsv' (http://us3.php.net/manual/en/function.fgetcsv.php) can
read a line (one row) from a csv file and return the column values.

When converting xls to csv in MS Excel, page-breaks are converted to
*¿0a¿0a* in the csv file.

I had this in my php code
Formula:
--------------------
$data = str_replace("¿0a", "\\n", $data);
--------------------
but I find that if this line is not there, even then *¿0a* is treated
as a new-line. Would like to know if php's function doing this or
something else ?

Thanks


--
anjanesh

Freelance Developer
------------------------------------------------------------------------
anjanesh's Profile: http://www.excelforum.com/member.php...o&userid=27132
View this thread: http://www.excelforum.com/showthread...hreadid=499706

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting xls to ofx Vance Excel Discussion (Misc queries) 8 June 6th 10 01:25 PM
Converting a date to a text field w/o converting it to a julian da LynnMinn Excel Worksheet Functions 2 March 6th 08 03:43 PM
converting to Kg Josh C Excel Discussion (Misc queries) 8 May 23rd 07 08:06 AM
Converting USD$ to AUD$ Mike Excel Worksheet Functions 0 May 22nd 07 08:51 PM
Converting .XLS to .XML [email protected] Excel Discussion (Misc queries) 6 October 14th 05 09:19 PM


All times are GMT +1. The time now is 12:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"