Author |
Topic |
|
CooLGiL
Junior Member
126 Posts |
Posted - 06 May 2002 : 16:19:54
|
Im Working On An Apllication Of Myn, I'm Stuck In The Area Of
Inserting Breaks.
hmmm, How Shell I Explain...
Like Sitnz When I Insert An Break, When I Click Enter, After Im
Sending The Messege To The DataBase The Breaks Are Gone!.
What Im Trying To Ask Is How Can I Do That When I Click Enter Or
Double Space In My Application And It's Sending Herself In The
DataBase I Want When Im Showing The DataBase That He Will Show The
Breaks.
Now One More Problem And We Done :), Loke Snitz When Im Putting An
Tag Like , It Will Put An Image.
I Want Some Codes And Explains Dont Point Me To Other Site!.
Thanks All, For Your Ears And For Your Eyes!.
Hope for Help Soon,
Gil Binder Known As CooLGil Or CooLMaN
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 06 May 2002 : 17:42:40
|
quote:
Im Working On An Apllication Of Myn, I'm Stuck In The Area Of
Inserting Breaks.
hmmm, How Shell I Explain...
Like Sitnz When I Insert An Break, When I Click Enter, After Im
Sending The Messege To The DataBase The Breaks Are Gone!.
What Im Trying To Ask Is How Can I Do That When I Click Enter Or
Double Space In My Application And It's Sending Herself In The
DataBase I Want When Im Showing The DataBase That He Will Show The
Breaks.
Try replacing either all vbCrLf or vbNewLine with <br>, so it would look something like: set myText = Request.Form("myText") myText = Replace(myText,vbNewLine,"<br>")
Then insert that value into the database. When you display the value in html, it should appear the way you want. If you need to bring that value back into a textarea, you will need to do the reverse (replace <br> with vbNewLine).
quote:
Now One More Problem And We Done :), Loke Snitz When Im Putting An
Tag Like , It Will Put An Image.
You could take just a little bit of time and look at how the snitz code does it. But again, you are replacing values, so it would be something like: set myText = Request.Form("myText") myText = Replace(myText,"",""">")
Nikkol |
|
|
|
Topic |
|
|
|