|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Basic Help needed
I am making a simple WML site and i'm having a few problems:
1/**Any page I try with the extension .wml won't work on any phone!!**This isn't too muc of a problem because my pages need to be dynamic and therefore i'll be using ASP.**It would be nice to know what i'm doing wrong though if anyone can point it out. 2/**If I have a simple 'Hello World' ASP page, that gets a simple name or something out of a DB it works fine.**When I try to add a link to this dynamic content the page fails.**As it is below, the page won't work.**If i take out the anchor tags the page renders but then obviously the links wont work <% Response.ContentType = "text/vnd.wap.wml" %><?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <% '----Connect to DB DSNless Set oConn = Server.CreateObject("ADODB.Connection") oConn.open "dsn=wapDB;" %> <wml> <card id="displayUsers"> <p> <% oUserDetails.MoveFirst() while not oUserDetails.eof ****response.write("<anchor><go href=""userdetails.asp#displayEmail"">"&oUserDetails("firstname")&" "&oUserDetails("lastName")&"</anchor><br/>") oUserDetails.MoveNext() wend %> </p> </card> <card id="displayEmail"> <p> <% oUserDetails.MoveFirst() while not oUserDetails.eof ****response.write("<anchor><go href=""userdetails.asp#displayUsers"">"&oUserDetails("email")&"</anchor><br/>") oUserDetails.MoveNext() wend %> </p> </card> </wml> 3/**How easy will it be to make a site that enables people to download content to their phone?**The content in question is Java games.**The installation will be controlled by the content designers but i just have to design a site that will allow users to click a link and for the content to download similarly to on a computer.**Is this going to be easy or difficult? Thanks for your help BY THE WAY THE * ASTERIXES ARE NOT IN THE REAL CODE
__________________
Thanks in advance Chris |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Basic Help needed |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|