Ask a Question related to Coldfusion Database Access, Design and Development.
-
pope on acid #1
Send and retrieve HTML code to/from SQL Server
I need a solution for the following:
I have a flashform with several cftextarea's to INSERT a record and an output
PDF file to retrieve a record.
Problem: html-tags like <br> changes to a musical note on INSERT and any
output except cftextarea ignores the tags so all the content is 'inline' (no
linebreaks).
Is it possible on INSERT to bring HTML-tags to a string? eg.
firstline<br>secondline.
pope on acid Guest
-
Lost CD key Code can I retrieve it from my currently installed version?what can i do????
I lost my CD key code for Studio MX. I am so sick over this ! What can I do???? I know Macromedia is going to have the tough luck attitude. Is... -
Retrieve pdf files from SQL Server
Hi Doesn anyyone know the proper lines of ASP code to sucessfully retrieve a pdf file from SQL server. Everytime I run my code I get gibberish... -
Can't retrieve Code value SoapException in client application
Hello, I've written an ASP.NET webservice. I try to recognize the type of the original exception in my client application bij setting the Code... -
ASP code to send SMS message
I wonder how http://mobile.yahoo.com SMS works. By entering a phone number and service provider, how ASP page can send SMS message to a cellular... -
how to update and retrieve ntext fields in my asp code
how to update and retrieve ntext fields in my asp code PLEASE HELP -
JMGibson3 #2
Re: Send and retrieve HTML code to/from SQL Server
You can use the replace function to change the CR's or LF's to <br>. They are
ASCII chars, CHR(10) and CHR(13) although I can never remember which is which,
example:
<cfset myText = Replace(myText,chr(10),"<br>","ALL")>
Most people do this on the way OUT of the DB whenever the destination is other
than a textarea. Thus you can continue to use the textatrea's for updating.
There is no HTML equivalent for TAB's, chr(09). You could change them to 4
nbsp's.
JMGibson3 Guest



Reply With Quote

