pthompson2002
09-30-02, 07:50
| I have a question that I think can be solved using ASp, but I'm not 100% sure so apologies in advance if it can't. On our website we have a form that, on submission, writes to our database. The form includes a textarea that the user can format how they choose, i.e add carriage returns etc. Obviously when this data is written to the database it is just one big line of text, thats not a problem. However I was wondering if it is possilbe for the data to be re-formatted into the same look as the user saw it when he/she submitted it when they retrieve it form the database. I was wondering if there was some kind of funciton that would substitute carriage reutrns for other characters, * for example and on retrieval from the database replace the * with a carriage return. Any help would be much appreciated |