<\/a><\/p>\n\u8bc4\u8bba\u7279\u70b9<\/h2>\n
1.\u6240\u6709\u6587\u4ef6\u4e0d\u4e0e\u7a0b\u5e8f\u4efb\u4f55\u6587\u4ef6\u51b2\u7a81,\u5355\u72ec\u653e\u5728\u4e00\u4e2a\u6587\u4ef6\u5185;
\n2.\u81ea\u5e26\u8bc4\u8bba\u6837\u5f0f\uff0c\u4e0d\u9700\u8981\u5355\u72ec\u5199CSS js;
\n3.\u652f\u6301ajax\u663e\u793a\u8bc4\u8bba\u603b\u6570;
\n4.\u652f\u6301\u65e0\u9650\u56de\u590d\u76d6\u697c;
\n5.\u652f\u6301\u5f00\u542f\u6e38\u5ba2\u8bc4\u8bba\u4e0e\u4ec5\u652f\u6301\u4f1a\u5458\u8bc4\u8bba;
\n6.\u652f\u6301\u6e38\u5ba2\u8bc4\u8bba\u52a0\u5165\u9a8c\u8bc1\u7801,\u4f1a\u5458\u8bc4\u8bba\u4e0d\u52a0\u9a8c\u8bc1\u7801;<\/p>\n
\u4f7f\u7528\u6559\u7a0b<\/h2>\n
1.\u540e\u53f0-\u7cfb\u7edf-SQL\u547d\u4ee4\u884c\u5de5\u5177,\u6267\u884c\u4ee5\u4e0b\u8bed\u53e5.<\/strong><\/p>\n\n
\n
\n
PHP<\/div>\n<\/div>\n
ALTER<\/span><\/span> TABLE<\/span><\/span> `SzsFox_feedback`<\/span> ADD<\/span><\/span> `pid`<\/span> SMALLINT<\/span><\/span>(<\/span><\/span> 5<\/span><\/span> )<\/span><\/span> UNSIGNED<\/span><\/span> NOT<\/span><\/span> NULL<\/span><\/span> DEFAULT<\/span><\/span> '0'<\/span><\/span><\/code><\/pre>\n<\/div>\n2.\u9009\u62e9\u5bf9\u5e94\u7684\u7f16\u7801\u6587\u4ef6\u5939\uff0c\u628a comments \u6587\u4ef6\u5939\u653e\u5230\u7f51\u7ad9\u6839\u76ee\u5f55\u91cc\uff1b\u628a ajaxcomments.htm \u6587\u4ef6\u653e\u5728\u4f60\u6b63\u5728\u4f7f\u7528\u7684\u6a21\u677f\u6587\u4ef6\u5939\u91cc.<\/strong><\/p>\n<\/div>\n3.\u5728\u5185\u5bb9\u9875\u6a21\u677f\u5408\u9002\u7684\u4f4d\u7f6e\u52a0\u5165\u8bc4\u8bba\u6846\u4ee3\u7801<\/strong><\/p>\n\n
\n
HTML<\/div>\n<\/div>\n
<!-- \/\/AJAX\u8bc4\u8bba\u533a \u5f00\u59cb --><\/span><\/span>\r\n<<\/span><\/span>script<\/span><\/span> type<\/span><\/span>=<\/span><\/span>'<\/span><\/span>text\/javascript<\/span>'<\/span><\/span><\/span> src<\/span><\/span>=<\/span><\/span>'<\/span><\/span>\/comments\/jquery.min.js?ver<\/span>=<\/span><\/span>3.0<\/span>'<\/span><\/span><\/span>><\/span><\/span><\/span><\/<\/span><\/span>script<\/span><\/span>><\/span><\/span><\/span><!-- \/\/\u5982\u679c\u4f60\u9875\u9762\u4e2d\u5df2\u7ecf\u52a0\u8f7d\u8fc7jquery\u5e93\uff0c\u8bf7\u5220\u9664\u8fd9\u4e00\u884c\uff0c\u9632\u6b62\u51b2\u7a81 --><\/span><\/span>\r\n<<\/span><\/span>link<\/span><\/span> href<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>\/comments\/comments.css<\/span>\"<\/span><\/span><\/span> rel<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>stylesheet<\/span>\"<\/span><\/span><\/span> type<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>text\/css<\/span>\"<\/span><\/span><\/span> \/><\/span><\/span><\/span>\r\n<<\/span><\/span>div<\/span><\/span> id<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>comments<\/span>\"<\/span><\/span><\/span> class<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>entry-comments<\/span>\"<\/span><\/span><\/span>><\/span><\/span><\/span>\r\n\t<<\/span><\/span>h3<\/span><\/span> id<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>reply-title<\/span>\"<\/span><\/span><\/span> class<\/span><\/span>=<\/span><\/span>\"<\/span><\/span>comment-reply-title<\/span>\"<\/span><\/span><\/span>><\/span><\/span><\/span>\u53d1\u8868\u8bc4\u8bba<\/span><\/<\/span><\/span>h3<\/span><\/span>><\/span><\/span><\/span>\r\n\t{dede:include file='ajaxcomments.htm' \/}\r\n<\/span><\/<\/span><\/span>div<\/span><\/span>><\/span><\/span><\/span>\r\n<<\/span><\/span>script<\/span><\/span>><\/span><\/span><\/span>\r\nwindow<\/span>.<\/span><\/span>jsui <\/span>=<\/span><\/span> {<\/span><\/span>\r\n uri<\/span>:<\/span><\/span> '{dede:global.cfg_basehost\/}'<\/span><\/span>\r\n}<\/span><\/span>;<\/span><\/span>\r\n<\/span><\/<\/span><\/span>script<\/span><\/span>><\/span><\/span><\/span>\r\n<<\/span><\/span>script<\/span><\/span> type<\/span><\/span>=<\/span><\/span>'<\/span><\/span>text\/javascript<\/span>'<\/span><\/span><\/span> src<\/span><\/span>=<\/span><\/span>'<\/span><\/span>\/comments\/loader.js?ver<\/span>=<\/span><\/span>3.0<\/span>'<\/span><\/span><\/span>><\/span><\/span><\/span>