You are here: Problems while exporting data using pipe symbols « PHP Programming Language « IT news, forums, messages
Problems while exporting data using pipe symbols

Posted by mark.heyden on 02/02/06 09:49

Hi Frends,

I am facing problems while trying to export data into
pipe format. In fact I am fetching records from mysql database and then
trying to create a text file ( using pipe as delimeter) , intending to
open in Excel.

The data is been inserted from textarea fields, where the
user can write text and may press enter key to format his text
accordingly. Now when the data entered into the database it keeps some
unidentified value so as to keep the formatting. Hence while displaying
the text file I find that lines are seperated according to the format
user gave. Thus creating the problem while opening up in the excel
file.

example:

First Name: Mark [Text Field].
Second Name: Heyden ]Text Field].
Address: xyz (Enter Key pressed)
abc, (Enter Key pressed)
def. (Enter Key pressed)
[TextArea]

Hence the record I expect should be in the text file like,

Mark | Heyden | xyz abc,def.

But I am getting it as

Mark | Heyden | xyz
abc,
def.
I would appreciate if some one can give me the solution
how i can get rid of the situation.

Thanks,
M Heyden.

 

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

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