-
%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.
-
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.
-
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?
-
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!
-
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%>
-
You can pass the name value to the page in .
-
Script Description:
Add the following ** to the area.
Replace *** with the corresponding paths of your two servers.
-
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?
-
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
-
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"
-
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.
-
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.
-
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.
-
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.
-
form tag action=""Define the address of the page you want to submit to.
Hope it helps.
-
The two checkformsubmit functions have the same name, haha.
-
You put the ** of text2 under the mask and see the result.
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
1.Equally, after the cell has stopped the plasmo-wall separation, there is no difference between the internal and external concentrations.
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
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
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