當前位置:編程學習大全網 - 網站源碼 - 妳所看到的模式和UBB電碼的模式互換了。

妳所看到的模式和UBB電碼的模式互換了。

添加內容時調用編輯器方法:

& 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編程。說實話,這方面我並不精通。

  • 上一篇:phphtml轉圖片空白
  • 下一篇:如何在 Linux 上安裝 Mathematica
  • copyright 2024編程學習大全網