|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
wml with asp
i need help..
i can bring the values of the input over but i cannot store them in the database...why? This is the code. <% Response.ContentType="text/vnd.wap.wml" Dim adm_no, pass_no adm_no=Request("Admission") pass_no=Request("Password") set conn=Server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.Jet.OLEDB.4.0" conn.Open(Server.Mappath("databid.mdb")) sql="INSERT INTO register (Userid,Pass)" sql=sql & " VALUES " sql=sql &"('" & adm_no &"'," sql=sql &"'" & pass_no &"')" %> <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd"> <wml> <card id="card3" title="ASP3"> <p> Your id is: <br/> <%Response.Write(adm_no)%> <br/> Your pass is <br/> <%Response.Write(pass_no) %> <do type="accept" label="Back"> <prev /> </do> </p> </card> </wml> <% conn.close %> |
|
#2
|
|||
|
|||
|
Something missing
You create sql variable with SQL command in it.
Now execute it (this missing in code) |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > wml with asp |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|