Real quick question

F

Franck

Im looking since the begining of the week about saving the
enter(vbcrlf) from the html <textarea> to 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.
 
M

Mike Brind

Franck said:
Im looking since the begining of the week about saving the
enter(vbcrlf) from the html <textarea> to 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>?
 
F

Franck

Mike said:
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>?

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
 
F

Franck

Franck said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top