ScoobyNet.com - Subaru Enthusiast Forum

ScoobyNet.com - Subaru Enthusiast Forum (https://www.scoobynet.com/)
-   Computer & Technology Related (https://www.scoobynet.com/computer-and-technology-related-34/)
-   -   wml and asp code problem (https://www.scoobynet.com/computer-and-technology-related-34/421504-wml-and-asp-code-problem.html)

Richard_P 22 April 2005 12:08 PM

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

Jerome 22 April 2005 12:46 PM

Shouldn't there be a RS.MoveFirst just after the Do while line?

Richard_P 22 April 2005 01:11 PM

I tried that just now and the page never loads.

Any other thoughts?

Cheers.

Richard_P 23 April 2005 07:53 PM

up to see if any wml experts on this evening!

Cheers!

Rich


All times are GMT +1. The time now is 07:11 AM.


© 2024 MH Sub I, LLC dba Internet Brands