Forums

This topic is locked

Convert asp to php

Posted 15 Aug 2002 06:54:35
1
has voted
15 Aug 2002 06:54:35 Johnny Lee posted:
Hi,

Would you convert this piece of asp code to php for me? Thank you.

<%
While ((Repeat1__numRows <> 0) AND (NOT rsQuest.EOF))
%>
<INPUT type="radio" name="ANS_ID" value="<%=(rsQuest.Fields.Item("ANS_ID".Value)%>">
<I><%=(rsQuest.Fields.Item("ANSWERS".Value)%></I>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rsQuest.MoveNext()
Wend
%>

I think it is very similar to this, but I don't know the exact code.
Thank you.

Replies

Replied 15 Aug 2002 14:56:13
15 Aug 2002 14:56:13 Dave Thomas replied:
You might find this a bit of use.

asp2php.naken.cc/

"No-one ever said this stuff was easy <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>"
Replied 15 Aug 2002 15:02:11
15 Aug 2002 15:02:11 Johnny Lee replied:
I have been trying to install it for the past three hours, but unsuccessful. The documentation is not very clear. I am wondering if anyone has installed it on your web site and you use it online. Do you know any? Thank you.
Replied 16 Aug 2002 14:54:00
16 Aug 2002 14:54:00 Dave Thomas replied:
I've never used it myself. I know someone that does tho! So it must work.

"No-one ever said this stuff was easy <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>"

Reply to this topic