View Single Post
Old 02-12-2013, 11:06 AM   PM User | #8
rshekhar21
New Coder

 
Join Date: Jan 2013
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
rshekhar21 is an unknown quantity at this point
well thanks sir,

however this did not run.

first when i change the "strFeedMessage = Request.Form("Message")" to "strFeedMessage = Replace(Replace(Trim(Request.Form("Message"),vbCR,""),vbLF,"<br>")"

i got an error message

"Microsoft VBScript compilation error '800a03ee'

Expected ')'

/tst/cu.asp, line 17

strFeedMessage = Replace(Replace(Trim(Request.Form("Message"),vbCR,""),vbLF,"<br>")
-----------------------------------------------------------------------------------^"

i then put one more closing bracket ')' at the end of the above line of code and tried again then i got this error

"Microsoft VBScript runtime error '800a01c2'

Wrong number of arguments or invalid property assignment: 'Trim'

/tst/cu.asp, line 17
"

i guess something is wrong with the code itself.

please suggest.

thanks
rshekhar21 is offline   Reply With Quote