asp is missing statements, ASP is missing statements

Updated on technology 2024-04-11
15 answers
  1. Anonymous users2024-02-07

    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**?

  2. Anonymous users2024-02-06

    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

  3. Anonymous users2024-02-05

    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

  4. Anonymous users2024-02-04

    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'

  5. Anonymous users2024-02-03

    if buylist<>""then

    This if statement does not have an end if

    That is, you can write an end if at the end.

  6. Anonymous users2024-02-02

    There should be an end if at the end, right?

  7. Anonymous users2024-02-01

    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 .

  8. Anonymous users2024-01-31

    <% is written here asp**%>

    Outside some html**.

    = or **********===<%.

    asp**"

  9. Anonymous users2024-01-30

    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.

  10. Anonymous users2024-01-29

    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!

  11. Anonymous users2024-01-28

    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

  12. Anonymous users2024-01-27

    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"

  13. Anonymous users2024-01-26

    You if temponline (i,0) <""There is no then after here, so change it to if temponline (i,0) <"" then

  14. Anonymous users2024-01-25

    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%>

  15. Anonymous users2024-01-24

    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.

Related questions
10 answers2024-04-11

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.

9 answers2024-04-11

do while not

Output line. for i=1 to 3 >>>More

5 answers2024-04-11

You see if you started the asp parsing file.

10 answers2024-04-11

File**.

msg(i)next >>>More

11 answers2024-04-11

There is a serious error in your statement.

The right one should be like this. >>>More