Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

wml and asp code problem

Thread Tools
 
Search this Thread
 
Old 22 April 2005, 12:08 PM
  #1  
Richard_P
Scooby Regular
Thread Starter
 
Richard_P's Avatar
 
Join Date: Jan 2004
Posts: 649
Likes: 0
Received 0 Likes on 0 Posts
Default wml and asp code problem

hey

Anyone used asp in wml code? I've got some code that wont work, the asp code works fine but within wml it just brings back an error saying "expected entity name for reference". The database just has basic data in it with some <br/> tags to split it up.

<wml>
<card id="card1" title="mytitle">

<%
Do while Not RS.EOF
%>
<p><%= RS("data1")%></p>

<p><%= RS("data2")%></p>

<%
RS.MoveNext
Loop
%>
</card>
</wml>

Any ideas much appreciated.

Cheers

Rich
Old 22 April 2005, 12:46 PM
  #2  
Jerome
Scooby Regular
 
Jerome's Avatar
 
Join Date: Sep 2000
Posts: 4,460
Likes: 0
Received 0 Likes on 0 Posts
Default

Shouldn't there be a RS.MoveFirst just after the Do while line?
Old 22 April 2005, 01:11 PM
  #3  
Richard_P
Scooby Regular
Thread Starter
 
Richard_P's Avatar
 
Join Date: Jan 2004
Posts: 649
Likes: 0
Received 0 Likes on 0 Posts
Default

I tried that just now and the page never loads.

Any other thoughts?

Cheers.
Old 23 April 2005, 07:53 PM
  #4  
Richard_P
Scooby Regular
Thread Starter
 
Richard_P's Avatar
 
Join Date: Jan 2004
Posts: 649
Likes: 0
Received 0 Likes on 0 Posts
Default

up to see if any wml experts on this evening!

Cheers!

Rich
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Darrell@Scoobyworx
Trader Announcements
26
30 January 2024 01:27 PM
Abx
Subaru
22
09 January 2016 05:42 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
Sam Witwicky
Engine Management and ECU Remapping
17
13 November 2015 10:49 AM



Quick Reply: wml and asp code problem



All times are GMT +1. The time now is 12:27 AM.