Also each simple BBS (seven)--a little note

Source: Internet
Author: User
This BBS Display page is not ideal, that for the future can be sent to me! Email:hahuwe@sina.com. Another database to build code!
The BBS database code is as follows:
<%
Set conn = Server.CreateObject ("ADODB. Connection ")
DBPath = Server.MapPath ("Bbs.mdb")
Conn. Open "Driver={microsoft Access driver (*.mdb)};d bq=" & DBPath
sql= "CREATE TABLE BBS (ID text (4), AuthorName text (), subject text, Content memo,"
sql=sql& "Adddate date,visitnum long,answernum text (4), Addtime time,topnum text (4))"
Conn.execute (SQL)
%>

The author database is as follows:
<%
Set conn = Server.CreateObject ("ADODB. Connection ")
DBPath = Server.MapPath (Author.mdb ")
Conn. Open "Driver={microsoft Access driver (*.mdb)};d bq=" & DBPath

Sql= "CREATE table author (authorname text), Pawword text (20))"
Conn.execute (SQL)
%>



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.