Reply to Re: inserting data via browser(textarea) into database

Your name:

Reply:


Posted by frizzle on 05/29/06 22:18

Tommy DN wrote:
> I just wanted to make something that creates html-code which should be
> inserted in a mysql database.
>
> The user should type text in a textarea. When the user submits the data,
> all enters should be translated into "<br>" and it would be nice if the
> user could also insert links ( "<a href="..." ) in the formular.
>
> Does someone knows a good, very simple script? There are wysiwyg editors
> on the net, but I don't need to modify fonts, colors et cetera. The most
> important thing are the "<br>" tags which should be generated.

Concerning the breaks, you'd might wanna check out the built in php
function nl2br()
Found at http://php.net/nl2br
Turns (textfield) breaks into <br />.

Frizzle.

[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

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