You are here: Re: updating forms « PHP « IT news, forums, messages
Re: updating forms

Posted by Norbert Wenzel on 09/29/05 14:46

(hope) wrote:
> i have a text area on my page.
> As page is uploaded it displays certain text in it.
> It has also has a text area with same text that is being displayed above
> in the page .
> If user changes this text of text area n presses submit button
> the page needs to display updated text in the text area
> and as well as updated text above in the page.
>
> 2ndly the text area must display text alogwith tags
> e.g <h1>heading<h1>
>
> this goes text
>
>
>
> but above in the page these tags must like <h1> </h1>
> mustnt be displayed instead the heading word must become of h1 format.
>
> how can i get all tags like <br> <h1> etc. as enterd by user
> coz if i get it on next page n save it database,
> the next time wen i wil dsiplay there wil be no brs .
>
>
> n how to update the page n display updated text?
>
> regards
> hope

see functions htmlentities() or htmlspecialchars() to replace < with
&lt; and so on.

 

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

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