& lttextarea name = " content " cols = " 80 " rows = " 15 " id = " content " style = " display:none & lt;/textarea & gt;
& ltiframe id = " editor " name = " editor " src = " path/ubb/edit . htm?id = content " frame border = " 0 " margin height = " 0 " margin width = " 0 " scrolling = " No " style = " height:320;寬度:100% " & gt;& lt/iframe & gt;
編輯內容時調用editor方法:
& lttextarea name = " content " cols = " 80 " rows = " 15 " id = " content " style = " display:none " & gt;& lt% = server . html encode(content)% & gt;& lt/textarea & gt;
& ltiframe id = " editor " name = " editor " src = " path/ubb/edit . htm?id = content " frame border = " 0 " margin height = " 0 " margin width = " 0 " scrolling = " No " style = " height:320;寬度:100% " & gt;& lt/iframe & gt;
顯示數據庫內容的方法:
1.在要顯示的頁面中包含ubb.asp。
2、ubbcode(server . html encode(RS(" content "))
編寫自己的代碼包括。NET編程。說實話,這方面我並不精通。