Simple question.....I hope (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


Guest -> Simple question.....I hope (3/16/2001 20:38:00)

I have a run of the mill query is which form data for the state is passed to a query page to find all retailers for that state. The state is not repeated in the results. How can I input a text line above the results which displays the form value in it.

i.e - If the query is:
Select * from TABLE where STATE = ::STATE::

If New York is sent as "state" for the query, I want a text line above the results to read:
"Results for New York"

I tried:

<p>Results for <%=::STATE::%></p>

but that didn't work.....





Elecia -> RE: Simple question.....I hope (3/16/2001 23:18:00)

This should do it.

<p><%=Request("State")%></p>

EE





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.03125