-
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.
-
Baidu search.
Or, let's write a new one.
-
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 ......
-
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.
-
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 **:
-
Definitely, in general, if you don't write it, no one will fill it out for you.
-
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.
-
Dude, you need to sponsor some of this.
Everybody's living a good life, hehe.
-
Hehe, when will communism be good.
-
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!
-
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.
-
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?
-
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?
-
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.
-
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
-
strsql = "select * from the article table where keyword like'%|"& Keyword Variables &"|%'"
-
Still don't understand what you're trying to accomplish.
-
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.
-
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.
-
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.
-
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.
-
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.
-
You can use the WIN system to plan tasks.
Make a method in the submit button that either it won't be submitted to the database. >>>More
Below is saved as.
set conn="") >>>More
Sweat, maybe there are some places that are out of specification.
**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
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