ASP Conditional Display Problem, ASP Cannot Display Content According to Conditions?

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

    if condition = 1 then

    What is shown in condition 1"

    if condition = 1 then

    What Condition 2 shows"

    if condition = 1 then

    What condition 3 shows"

  2. Anonymous users2024-02-09

    if shenhe1=0

    Where did shenhe1 come from? I didn't see the collapse of Zen and the front of the group.,No initialization will default to 0.

    Figure it out and session("shenhe1"It's not the same thing.

    It's defined like this, and it's stored in the session, but the call is called in full.

    For example, session("shenhe1")

    That is, session("shenhe1"It's not the same as shenhe1.

    if session("shenhe1")=0"

    Why do you want to enclose 0 in double quotation marks? "0"and meaningless.

    In addition, if the temporary data is stored in the session every time.

    Because session is a shared data, only the last value will be saved after the last code.

    Let's modify it like this.

    dim shenhe1

    shenhe1=rs("user_info_shenhe")shenhe1=shenhe1+0

    shenhe1=0 then

    Success"else "Unsuccessful"

    end if

    It's impossible, shenhe1 resets every loop, how can it accumulate.

    Instead. dim shenhe1

    shenhe1=0

    shenhe1=rs("user_info_shenhe")+0if shenhe1=0 then

    Success"else "Unsuccessful"

    end if

    hmmmmmmmmmmmmm, and finally see if the user info shenhe item in your database is an integer.

  3. Anonymous users2024-02-08

    Order by L array asc with a space in front of it.

  4. Anonymous users2024-02-07

    <%title=request("title")img=""

    if title="a" then img=""

    if title="b" then img=""

    --The above ** can be placed anywhere above the **label.

    **The label says so.

  5. Anonymous users2024-02-06

    select top 1 is to retrieve a piece of data top 1 and remove it.

Related questions
9 answers2024-05-10

do while not

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

5 answers2024-05-10

You see if you started the asp parsing file.

13 answers2024-05-10

If you have a problem, you post all of it, or send it to me to help you modify it. >>>More

4 answers2024-05-10

function open conn() defines the function open conndim dbpath, and conn defines the variables dbpath and conndbpath="Database path"Override the relative path of your database to the variable dbpath >>>More

7 answers2024-05-10

Usage:"/") The location where the root directory of the application is located, such as c: inetpub wwwroot >>>More