Forums
This topic is locked
Convert asp to php
Posted 15 Aug 2002 06:56:06
1
has voted
15 Aug 2002 06:56:06 Johnny Lee posted:
Hi,Would you please 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.