petrod
04-09-2004, 01:14 PM
I have this code:
%>
<TR>
<TD><%my_link=scriptresponder & "?which=" & rstemp(idfield)%>
<FORM><input type=button onclick="window.location.href='<%=my_link%>';"value="Go to"></td>
<TD><%=objRS ("TITLE") %> </TD>
<TD><%=objRS ("AIRLINE") %> </TD>
<TD><%=objRS ("OFFICE") %> </TD>
<TD><%=objRS ("CODE") %> </TD></TR>
<%
This code shows a button and 4 rows form the database.When u click on the button it will go u a page
redirect.asp?which=www.cyprusair.com.cy
What code should i put in the redirect page so that i can read the part after the which= and redirect meto the correct page.
%>
<TR>
<TD><%my_link=scriptresponder & "?which=" & rstemp(idfield)%>
<FORM><input type=button onclick="window.location.href='<%=my_link%>';"value="Go to"></td>
<TD><%=objRS ("TITLE") %> </TD>
<TD><%=objRS ("AIRLINE") %> </TD>
<TD><%=objRS ("OFFICE") %> </TD>
<TD><%=objRS ("CODE") %> </TD></TR>
<%
This code shows a button and 4 rows form the database.When u click on the button it will go u a page
redirect.asp?which=www.cyprusair.com.cy
What code should i put in the redirect page so that i can read the part after the which= and redirect meto the correct page.