Hi,

I'm using fgetcsv()to import data from a file supplied by my client -
but unfortunately the content of the file has a carriage return at the
end which fgetcsv() chokes on, i.e., it doesn't work.

If I manually delete the carriage return and try to import it works
fine - so how do I delete this carriage return from the file in my
script before using fgetcsv()?

Thanks.

All the best,
Jim






The php_mysql group is dedicated to learn more about the PHP/MySQL web database possibilities through group learning.



YAHOO! GROUPS LINKS




Reply via email to