WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old March 23rd, 2004, 08:04 AM
Chris_Gilbert Chris_Gilbert is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: London
Posts: 166 Chris_Gilbert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 2 h 32 m 5 sec
Reputation Power: 6
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Basic Help needed


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway