How to write an asp page after submitting an article

Updated on technology 2024-05-19
23 answers
  1. Anonymous users2024-02-10

    var name,tel,text 'Declare variables.

    name=trim(request("name")) 'Assignment.

    tel=trim(request("tel"))text=trim(request("text")).Variables are legitimately judged to be written by themselves.

    set conn = "")

    Linked databases.

    set rs="")

    sql="select * from book" 'Open the data table.

    Build new data.

    rs("name")=name 'Write data content.

    rs("tel")=tel

    rs("text")=text

    Update the database.

    Close the datasheet.

    Close the database.

  2. Anonymous users2024-02-09

    Baidu search.

    Or, let's write a new one.

  3. Anonymous users2024-02-08

    Background? Faint that .........

    You'll have to at least tell me about the connections in the database!

    As for **, what we write will be completely different from what you originally ......

  4. Anonymous users2024-02-07

    dim id:id=request("articla_id")set rs="select the article title, article content, and other fields from the article table where id="&id)

    Several of these fields are written in accordance with the actual fields in your database"Article content")) 'Output the content of the article, and write the fields corresponding to the content of the article in parentheses.

  5. Anonymous users2024-02-06

    Build a template page, there is database support (field: id, title, content, type, date, hits) id, title, content, category, time, number of hits, and then you pass an id value to that page, get the corresponding article, the title content or something to fill in the template on it, this is my **:

  6. Anonymous users2024-02-05

    Definitely, in general, if you don't write it, no one will fill it out for you.

  7. Anonymous users2024-02-04

    Connect to the database.

    Read table records.

    The title is displayed, and clicking on the title will enter the page to read the content of the article.

  8. Anonymous users2024-02-03

    Dude, you need to sponsor some of this.

    Everybody's living a good life, hehe.

  9. Anonymous users2024-02-02

    Hehe, when will communism be good.

  10. Anonymous users2024-02-01

    Haha, you need a computer to make a program, and it costs a lot of electricity when the computer is turned on, and this electricity bill needs to be sponsored!

  11. Anonymous users2024-01-31

    It is particularly troublesome to write the backstage by yourself, and it takes at least more than a month for a professional to do a backstage.

    It is recommended that you use the CMS, the functions you said are all installed and can be used, and in the future maintenance, see how their programs are written, at least you have to understand how every directory and every file is used, if you can master this system, you can take orders.

    Personally, I think it's pretty good, but now there's a lot of noise on the Internet that ASP is outdated, and that's up for debate.

  12. Anonymous users2024-01-30

    Preferred linked databases.

    Each article you enter should have a corresponding logo. You see that there should be automatic numbering.

    With this automatic numbering, it's easy to get the value of the password corresponding to this article.

    When the page loads, the form pops up. Isn't it the end of a judgment?

  13. Anonymous users2024-01-29

    You can program a function by popping up a dialog box. Of course, there is also the issue of parameter transfer.

    I don't know how far you'll go?

  14. Anonymous users2024-01-28

    Set a session variable, after entering the password, its value is the ID of the article, if the ID of the article = session("id") displays the content of the article, otherwise displays the password box.

    Seeing that you are stupid, send the documents to my mailbox first.

  15. Anonymous users2024-01-27

    My idea, handled with asp (regardless of syntax).

    strkeyword=select keyword from arrkeyword=split(strkeyword,"|"for i=0 to unbound(arrkeyword)select * from article table where keyword like arrkeyword(i)

    next

  16. Anonymous users2024-01-26

    strsql = "select * from the article table where keyword like'%|"& Keyword Variables &"|%'"

  17. Anonymous users2024-01-25

    Still don't understand what you're trying to accomplish.

  18. Anonymous users2024-01-24

    Are you trying to search for all the keywords in it? As long as all the titles related to the keyword are displayed, right? It seems that I have to use the sentence that extracts the first few words, and I forgot the specifics, hehe, just remember that the sentence is so long, so I won't write asp.

  19. Anonymous users2024-01-23

    I use yes, no asp.

    The principle is roughly as follows:

    Query the DataTab that displays the list of articles, compare it with the current ID in the table, find the ID of the previous article, and the ID of the next article, and assign a URL link.

  20. Anonymous users2024-01-22

    ASP is passively executed and cannot be attended. You can set a release date when publishing an article, add a judgment date to the foreground article list and the article display page, if the date is less than or equal to now(), it will be displayed, otherwise it will not be displayed.

  21. Anonymous users2024-01-21

    ASP does not support the function of scheduled tasks, you can only perform page refresh judgment to carry out tasks, someone visits the home page, AJAX visits your publishing page to judge the time, if the time is up, automatic release is OK. This is a solution, and I haven't found anything else yet.

  22. Anonymous users2024-01-20

    It depends on what you need, if you want to publish a static page, use the method of dimming the highlights, if you use a dynamic page, you just add a time judgment.

  23. Anonymous users2024-01-19

    You can use the WIN system to plan tasks.

Related questions
13 answers2024-05-19

Make a method in the submit button that either it won't be submitted to the database. >>>More

17 answers2024-05-19

Below is saved as.

set conn="") >>>More

10 answers2024-05-19

Sweat, maybe there are some places that are out of specification.

6 answers2024-05-19

**Navigation is a kind of **station that collects more ** and is classified according to certain conditions, which is convenient for netizens to quickly find what they need**, without having to remember all kinds of **. The current ** navigation generally provides its own common query tools, as well as email login, search engine entrance, and some hot news and other functions. >>>More

6 answers2024-05-19

Step 1: Install IIS

Open Control Panel - > Programs Programs and Features - > Turn Windows features on or off, check "Internet Service Information", then "Internet Service Information" - > World Wide Web Services - > Application Development Function, check "Unchecked by default, cannot be published**. After that, confirm the installation. >>>More