Re: updating forms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux