ASP Problems with two forms on the same page

Updated on technology 2024-03-03
17 answers
  1. Anonymous users2024-02-06

    %if request("username")="" then%>elseset rec="")

    sql="select * from user where username = '"& request("username") &"'"

    sql,conn,1,1

    if then

    )end if

    end if

    One of the ideas of the Angel is like this.

    Replace your body with a look.

  2. Anonymous users2024-02-05

    You made a very low-level mistake, two forms cannot have the same name, and the submission will be confusing when the name is the same.

  3. Anonymous users2024-02-04

    Hehe. New to this, right? Just look at it.

    This is not difficult. But you need to use the content of JS. I don't know how you js.

    Your second form interacts with the database, i.e., reads it with AJAX without refreshing. I don't know how much you know about this?

  4. Anonymous users2024-02-03

    I've got a stupid idea! I don't know anything about ajax either! This is the content that is submitted to the current page!

    It is to get the value passed by the first form button, determine whether it is empty, and find the value in the database if it is not empty, and then take it out and put it in the second form, and the action of the first form is to point to the current page!

    I don't know if you can understand it, your language ability is not good, no way! Hope it helps!

  5. Anonymous users2024-02-02

    Page A Page B.

    Receive the passed parameter keyword

    keyword = trim("keyword"Receive the value from form1.

    action = trim("action"Check whether the action has a value, display form2 if there is a value, hide form1<%if action ="" then%>

    end if%>

  6. Anonymous users2024-02-01

    You can pass the name value to the page in .

  7. Anonymous users2024-01-31

    Script Description:

    Add the following ** to the area.

    Replace *** with the corresponding paths of your two servers.

  8. Anonymous users2024-01-30

    This is not possible, you can only write the program to be processed in the file and process it together, so that can be solved?

  9. Anonymous users2024-01-29

    In the first two steps, you can save it as a session when you commit

    The last commit is stored in the database.

    Then clean up the sessions you use

  10. Anonymous users2024-01-28

    Why do all forms need a do loop instead of just 2 forms?

    That's it, why bother.

    For 2 forms, change the name of the form to the first name="form1"The second name="form2"

  11. Anonymous users2024-01-27

    If this is the case, you can only use database transactions, such requirements are not suitable for text databases such as access, and databases such as mssql are needed, and databases such as access are not suitable for the development of high security requirements. Unless a transaction is used to lock the table, the data of the two tables can be synchronized at any time when accessed.

  12. Anonymous users2024-01-26

    Forehead. Isn't that from our group? I'm Kaede.

    Just use it twice to put it into storage. But if you want two tables to be synchronized. Can be a trigger.

  13. Anonymous users2024-01-25

    Jump directly to a different page in the action to process the data, and return to the current page.

    do something...

    Use location href to jump back.

    do something...

    Use location href to jump back.

  14. Anonymous users2024-01-24

    Each form has a name, and each form is submitted with an extra line type=hidded name="ok", this name is different for each one, and when judging, judge which form is based on this.

  15. Anonymous users2024-01-23

    form tag action=""Define the address of the page you want to submit to.

    Hope it helps.

  16. Anonymous users2024-01-22

    The two checkformsubmit functions have the same name, haha.

  17. Anonymous users2024-01-21

    You put the ** of text2 under the mask and see the result.

Related questions
14 answers2024-03-03

Boiling water with two electric heating rods (also known as heating rods) in the same bucket will not be dangerous and will increase the heating speed. The characteristics of the use of electric heating rods are as follows: >>>More

7 answers2024-03-03

1.Equally, after the cell has stopped the plasmo-wall separation, there is no difference between the internal and external concentrations.

24 answers2024-03-03

I agree with the statement on the 5th floor, the so-called friend's wife can't be bullied, this sentence can also be said in reverse, your ex-boyfriend's "brother" shouldn't be with you, what will his brother think, there will be a gap between them, right? It's the same way around, it's far away, it's close, it may seem to you, just want to care, but in the eyes of those people, it can completely destroy strong friendships and even family ties

6 answers2024-03-03

The tweeter has a small stroke, a high vibration frequency, and does not have a large stroke like the mid-bass. Refers to the left and right channels, not to the two speakers. If the mid-woofer is small. >>>More

10 answers2024-03-03

1.Imagine a cube with a regular shape, submerged in water, its 6 faces are subject to the pressure of water, because its left and right sides, the front and rear sides of the surface under the water depth is the same, then the pressure of the water is also the same, the pressure is equal in size, the direction is opposite, balanced with each other, and the upper and lower sides are in different depths in the water, the pressure of the water is small, the pressure is also different, the lower surface is subjected to the upward pressure of the water f is greater than the upper surface by the pressure of the water f downward. The net force of the pressure on the object is the buoyant force of the liquid on the object. >>>More