NYCPHP Meetup

NYPHP.org

[nycphp-talk] need some (sorry) ASP help

D C Krook dkrook at hotmail.com
Tue Jul 8 09:58:49 EDT 2003


Michael,

My ASP's a bit rusty, but this may be what you need.

<%
Dim w
w = Request("which")
%>

<%= legend(w) %>



>Help!  I can do this stuff blindfolded in PHP but now I am forced to do 
>some work on a windows server using ASP.
>I hope you don't mind my imposing on you all for a tiny bit of help.
>
>I have photos and legends for them in an array.  I pass a variable for 
>which photo and legend to a display
>script with no problem for the photo, but how do I pick up the variable for 
>the array element?
>
>Here are the relevant lines from the display script:
>==========================
><img src="../images/chicago2003/<% =Request("which")  %>.jpg"><br />
><% response.write legend(2) %>
>===========================
>
>In the second line I have hard-wired element 2 just for testing, but 
>obviously I want the ASP
>equivalent of $legend($which).  Maybe I could figure out how to do this 
>eventually, but I know
>somebody out there can tell me how in 15 seconds.  TIA, and again I 
>apologize for this OT question.
>
>I know there is an asp list out there somewhere; if somebody can point me 
>at that, I'll never have to
>bother any of you with this stuff again--I hope.
>
>
>Michael G. Southwell =================================
>DNEBA Enterprises
>81 South Road
>Bloomingdale, NJ 07403-1419
>973/492-7873 (voice and fax)
>southwell at dneba.com
>http://www.dneba.com
>======================================================

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus




More information about the talk mailing list