You are here: fwrite() problem with length of a string « All PHP « IT news, forums, messages
fwrite() problem with length of a string

Posted by nescio on 12/21/05 12:03

hello,

i have information (string) in a variable.
i write the variable to a csv-file.
all of the information in the varaible must appear on one line.
so when i write ten variables to the csv-file i must have ten lines;

some string are very long and some are very short.

the problem is: sometimes a string appears on two lines, instead of one.
as if there is a break;

how is this possible?

i do not control the value of the variable, because it comes from a database
that clients fill.

my question is:
- is there a maximum that a line accepts, and when there is more information
than the maximum allows, it
starts a new line?
- how do i get al of the information of a varaible on one line?

thanks

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация