-
Or is it a matter of logic when you write a program.
First, if then
end if
The end if position here is wrong, and the end if should be written after the insertion is completed;
Also, you have two judgment statements, but only one end if; Remember that if you don't judge an if, you have to have a relative end if to end the statement.
Don't know what you mean by "" in asp**?
-
if "venshop")("admin_class")<>0 then
You don't have that permission! "
end if
if request("action")="change" thendim tempstr
set rs="")
sql="select top 1 * from venshop_system"
sql,conn,1,3
if then
end if
tempstr=request("sitename")tempstr=tempstr&"##"&vbuttempstr=tempstr&"##"&vwordrs("siteinfo")=tempstrset rs=nothing
sitedns=lcase("http_host"))sitename=request("sitename")sitemail=request("mail")><'/script>"
I don't know what it's used for.,I commented it out.,If you want to use it, just cancel the comment.。
end if
-
You have two MAIDs in your **, and only one do while in front of you, and the last AND AND WHILE in you, see where you should insert the do while
-
sql2="select top 6 * from newslnfo where rs2 classid='1'
What is rs2 inside?
Changed to. sql2="select top 6 * from newslnfo where classid='1'
-
if buylist<>""then
This if statement does not have an end if
That is, you can write an end if at the end.
-
There should be an end if at the end, right?
-
Note the distinction between ** and html tags, you can't mix ** and tags directly, either the html tag is output by the output statement as a string content, or embed according to some rules, such as asp with <% and %>, php with .
-
<% is written here asp**%>
Outside some html**.
= or **********===<%.
asp**"
-
On the second page, the mod is a vb reserved word, just change the name of the variable name mod (the first mod) to a different name.
-
It's true that statements have little to do with passing program parameters, unless you don't pass data at all, or don't receive it! The general missing statement is missing <%end if%>Ending symbols like that!
-
I don't know what you're doing wrong, you should post the wrong information too!
Don't worry, check your database connection first.
dim conn
dim connstr
set conn = "")
connstr="driver=;server=(local);uid=sa;pwd=1234;database="
connstr
-
There is an error in the database connection statement, you can connect to the database as follows!
set conn = "")
driver=;server=server IP; uid=deary;pwd=23924400;database=The name of the database"
-
You if temponline (i,0) <""There is no then after here, so change it to if temponline (i,0) <"" then
-
Change your ** to the following ::
if (trim(mmsql)= used car beauty"Then%> used car information release.
Prompt the above error: Missing sentence Help me solve it Thank you! Car detailing information release.
else %>
class="cblue"> information is published free of charge.
class="cblue"> released nationwide.
end if%>
The main thing is that you don't have a <% separation between asp and **. Such as:
if (trim(mmsql)= used car beauty"Then.
then has one less space in front of it and one less % > in the end
Change to <% if (trim(mmsql)= used car beauty" )then %>
else to <%else %>
end if%> to <%end if%>
-
Just watch what others in front of you do.
You carefully check <%%, and some statements are to use <%%.
if else
end if
all need to be in the <%% to execute.
select * from table name where lab='101'and name='Sulfuric acid', don't know your table structure, so to give you the simplest select, you can talk about your table structure.
do while not
Output line. for i=1 to 3 >>>More
You see if you started the asp parsing file.
There is a serious error in your statement.
The right one should be like this. >>>More