Hi there.
I currently have the following code in Test.htm:
<a href="Connect.asp" target="frame2.htm"><img ...></a>
Then Connect.asp is called which has the following SQL command:
SELECT Field1, Field2, Field3 FROM Table1 WHERE Group=6
This works fine and frame2.htm is dynamically updated with the data from the fields in Table1 where the field Group equals 6.
My problem is this:
The value of Group can be 1,2,3,4,5,6,7,8,9 or 10.
I would like 10 images ({Group 1},{Group 2}, ... , {Group 10}) with <a href>...</a> links to Connect.asp but for each of them to pass a variable "number" to Connect.asp.
Then, hopefully, I could adjust the SQL code to read:
SELECT Field1, Field2, Field3 FROM Table1 WHERE Group=number
Failing this I'd have to create Connect1.asp, Connect2.asp etc.
Can someone please tell me how I can do this?
Thanks in advance.
Russell.
I currently have the following code in Test.htm:
<a href="Connect.asp" target="frame2.htm"><img ...></a>
Then Connect.asp is called which has the following SQL command:
SELECT Field1, Field2, Field3 FROM Table1 WHERE Group=6
This works fine and frame2.htm is dynamically updated with the data from the fields in Table1 where the field Group equals 6.
My problem is this:
The value of Group can be 1,2,3,4,5,6,7,8,9 or 10.
I would like 10 images ({Group 1},{Group 2}, ... , {Group 10}) with <a href>...</a> links to Connect.asp but for each of them to pass a variable "number" to Connect.asp.
Then, hopefully, I could adjust the SQL code to read:
SELECT Field1, Field2, Field3 FROM Table1 WHERE Group=number
Failing this I'd have to create Connect1.asp, Connect2.asp etc.
Can someone please tell me how I can do this?
Thanks in advance.
Russell.
Comment