Reply to Re: Form - <TEXTAREA> - CSV file

Your name:

Reply:


Posted by Mark Parnell on 10/26/05 08:47

In our last episode, Michel Beaussart <mbeaussart@charter.net>
pronounced to alt.html:

> Should I just plug some javascript into it

You could do it in Javascript, but then it won't work (read: you'll
still get the unformatted text) for those with Javascript
disabled/unavailable.

> or is there some magic html
> tricks (not in my current edition of allmighty html)?

No. HTML can't _do_ anything. It is just a lowly markup language.

The only way to *reliably* do this would be in your form handler. Once
the visitor submits the form, do your search and replace -
<http://www.php.net/manual/en/function.str-replace.php> - on the value
submitted from the textarea before generating the CSV file.

BTW: Please don't post upside down.
http://www.allmyfaqs.com/faq.pl?How_to_post
http://en.wikipedia.org/wiki/Top-posting

This will help:
http://home.in.tum.de/~jain/software/oe-quotefix/

It would also be appreciated if you could set your newsreader to wrap
lines at a decent length. Around 76-78 characters is generally
considered reasonable.

--
Mark Parnell
http://clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/

[Back to original 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

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