473,408 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Real quick question

Im looking since the begining of the week about saving the
enter(vbcrlf) from the html <textareato my MySql database, it save
everything but it just loose everything when saving ot the database, do
i need a special component to be able to save the enter and tabs etc..
Im sure i was able to do it before and it was easy.

Jul 25 '06 #1
3 1187

Franck wrote:
Im looking since the begining of the week about saving the
enter(vbcrlf) from the html <textareato my MySql database, it save
everything but it just loose everything when saving ot the database, do
i need a special component to be able to save the enter and tabs etc..
Im sure i was able to do it before and it was easy.
How do you know that vbcrlf is not being saved to your db? Is it
because when you response.write the contents there are no line breaks?
Are you replacing them with <br>?

--
Mike Brind

Jul 25 '06 #2

Mike Brind wrote:
Franck wrote:
Im looking since the begining of the week about saving the
enter(vbcrlf) from the html <textareato my MySql database, it save
everything but it just loose everything when saving ot the database, do
i need a special component to be able to save the enter and tabs etc..
Im sure i was able to do it before and it was easy.

How do you know that vbcrlf is not being saved to your db? Is it
because when you response.write the contents there are no line breaks?
Are you replacing them with <br>?

--
Mike Brind
No no no, hum must be my english i didnt really mean that. Waht i mean
is i use a html textarea, when i submit my form i submit to herself and
save the data. In the database itself it doesnt keep the enter. Ive
made a real quick program with vb6 inserting data from a multiline
textbox and it kept the enter i did in and when i load up waht my asp
page saved in my vbtextbox i really see there is no enter saved
everything got wrapped

example what i write in hte asp page :

Hi this is a real

Long

test

here is the result when i load it from vb :

Hi this is a real Long test

im lost why i cant make this basic thing work. i can program trought
asp and control distant client but i cant format a damn textarea i feel
pathetic

Jul 25 '06 #3

Franck wrote:
Mike Brind wrote:
Franck wrote:
Im looking since the begining of the week about saving the
enter(vbcrlf) from the html <textareato my MySql database, it save
everything but it just loose everything when saving ot the database, do
i need a special component to be able to save the enter and tabs etc..
Im sure i was able to do it before and it was easy.
How do you know that vbcrlf is not being saved to your db? Is it
because when you response.write the contents there are no line breaks?
Are you replacing them with <br>?

--
Mike Brind

No no no, hum must be my english i didnt really mean that. Waht i mean
is i use a html textarea, when i submit my form i submit to herself and
save the data. In the database itself it doesnt keep the enter. Ive
made a real quick program with vb6 inserting data from a multiline
textbox and it kept the enter i did in and when i load up waht my asp
page saved in my vbtextbox i really see there is no enter saved
everything got wrapped

example what i write in hte asp page :

Hi this is a real

Long

test

here is the result when i load it from vb :

Hi this is a real Long test

im lost why i cant make this basic thing work. i can program trought
asp and control distant client but i cant format a damn textarea i feel
pathetic
Bah forgot that just find out my error, my replace wasnt at the good
place
ALL MY FAULT

Jul 25 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: InvisibleMan | last post by:
Hi, I feel a little dumb for asking this (considering im writing TSQL) but there doesn't seem to be any definitive answers on the search engines... Okay I understand that if you open the ADO...
1
by: DILA | last post by:
Hi, I have included an embedded Real Player and an embedded Quick Time Player for streaming videos, in my web pages. I'm interested in searching for a method or a script to disable the...
3
by: homec | last post by:
Hi, I have included an embedded Real Player and an embedded Quick Time Player for streaming videos, in my web pages. I'm interested in searching for a method or a script to disable the ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.