|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
VeriSign Code Signing Digital Certificates provides assurance to end users. Read about this and more in the free white paper: “How to Digitally Sign Downloadable Code for Secure Content Transfer.” Learn More! |
|
#1
|
|||
|
|||
|
How do i add points and update points in a database?
hmm let's say there will be 4 files for 2 questions. Qn1.asp Q2.asp Check1.asp Check2.asp
Check1.asp consist of the codes below to check Q1.asp and Check2.asp is to check Q2.asp What do i need to put in the "" in both check1.asp and check2.asp so that if the user answer both the qn correctly it will 2 out of 2.. both wrong 0 out of 2 and so on.. I want the points to be stored inside a database.. <% r1=Trim(request.form("r1")) r2=Trim(request.form("r2")) r3=Trim(request.form("r3")) I=Trim(request.form("I")) urans=Trim(request.form("Answer1")) result= Round(CLng(r3)*CLng(I)/(CLng(r2)+CLng(r3))) if (CStr(result) = CStr(urans)) then " " elseif (CStr(result) <> CStr(urans)) then " " End if %> Last edited by niroff : June 24th, 2003 at 03:53 AM. |
|
#2
|
|||
|
|||
|
yup i realised it.. thats why i edited my message.. i changed the title but it does not appear in the main page.. it only appears <b>How do i add points and update points in a database? </b> in the message..
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > help needed! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|