SV: [thelist] Simply (?) ASP question

Marcus Andersson marcan at home.se
Sat Nov 15 12:51:08 CST 2003


And I would also make sure to put quotes around <%= variable %>  or your
input fields won't look good according to markup standards.

Example :  <input type="hidden" name="item_name" value="<%= strMember
%>">

/Marcus

> -----Ursprungligt meddelande-----
> Från: thelist-bounces at lists.evolt.org 
> [mailto:thelist-bounces at lists.evolt.org] För Andrew Seguin
> Skickat: den 15 november 2003 19:42
> Till: thelist at lists.evolt.org
> Ämne: Re: [thelist] Simply (?) ASP question
> 
> 
> If I'm not mistaken:
> 
>  <%= variable %>
> 
> would be what your looking for.
> 
> Andrew
> 
> > Folk -
> >
> > I am trying to send a form to PayPal, but need to use ASP variables 
> > within the form. Presently I have:
> >
> >         <form 
> action="https://www.paypal.com/cgi-bin/webscr" method="get">
> >             <input type="hidden" name="cmd" value="_xclick">
> >             <input type="hidden" name="business" value="???.coM">
> >             <input type="hidden" name="return" 
> value="http://???.com/">
> >             <input type="hidden" name="item_name" value= <% 
> strMember %> >
> >             <input type="hidden" name="item_number" value= <% 
> > strMember %>
> > >
> >             <input type="hidden" name="amount" value= <% 
> strMember_Amt 
> > %>
> > >
> >
> >             <input type="hidden" name="currency_code" value="USD">
> >
> > The problem is that the "<% strMember %>" and "<% strMember_Amt %>" 
> > syntax is wrong. Does anyone know how to include an ASP 
> variable here. 
> > Thanks greatly. Rick
> >
> > --
> > "If you tell me I'm sensible in addition to normal and 
> wise, I'm going 
> > to punch you in the stomach. I'm as screwed up as the next 
> person, and 
> > I like it that way." Imitation in Death, Page 257 by Nora Roberts 
> > writing as J. D. Robb
> >
> > --
> > * * Please support the community that supports you.  * * 
> > http://evolt.org/help_support_evolt/
> >
> > For unsubscribe and other options, including the Tip Harvester and 
> > archives of thelist go to: http://lists.evolt.org Workers 
> of the Web, 
> > evolt !
> >
> >
> 
> -- 
> * * Please support the community that supports you.  * * 
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 



More information about the thelist mailing list