I am trying to use version 2 to replace some of my textareas and would like to only store the <body> text and not the whole html page. Is there an east way withing FCKeditor to pick up only the body text from asp (I will also need to be able to do this with asp.NET).
Mon, 09/05/2005 - 06:59
#1
RE: Getting body text to store in database
I just strip the head & end sections after it's submitted like this
fbody=request("fckeditor1")
if instr(fbody,"<body>") then fbody=mid(fbody,instr(fbody,"<body>")+6)
if instr(fbody,"</body>") then fbody=left(fbody,instr(fbody,"</body>")-1)
a bit crude but it works ok
RE: Getting body text to store in database
RE: Getting body text to store in database