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 Apr 22, 2005 | 12:08 PM
  #1  
Richard_P's Avatar
Richard_P
Thread Starter
Scooby Regular
 
Joined: Jan 2004
Posts: 649
Likes: 0
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
Reply
Old Apr 22, 2005 | 12:46 PM
  #2  
Jerome's Avatar
Jerome
Scooby Regular
 
Joined: Sep 2000
Posts: 4,460
Likes: 0
Default

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

I tried that just now and the page never loads.

Any other thoughts?

Cheers.
Reply
Old Apr 23, 2005 | 07:53 PM
  #4  
Richard_P's Avatar
Richard_P
Thread Starter
Scooby Regular
 
Joined: Jan 2004
Posts: 649
Likes: 0
Default

up to see if any wml experts on this evening!

Cheers!

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




All times are GMT +1. The time now is 01:04 PM.