gogelpot
04-22-2008, 12:10 PM
Hi,
I have a form where a client will fill in their postal address in a <textarea>. This data is then stored in a data base.
If the client uses the return key any where in the address I have a problem reading the address from the database and writing it into a text file. The return key causes a line feed in the text file.
Is there a way to read the return key and then remove it befor writing it to the text file.
Could somebody please help me with some ideas?
I have a form where a client will fill in their postal address in a <textarea>. This data is then stored in a data base.
If the client uses the return key any where in the address I have a problem reading the address from the database and writing it into a text file. The return key causes a line feed in the text file.
Is there a way to read the return key and then remove it befor writing it to the text file.
Could somebody please help me with some ideas?