p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_forms thread: pass a variable to a html table in a email


Message #1 by "David" <mcmahan@b...> on Mon, 1 Jan 2001 18:36:40 -0000
This my first post:

Can someone please help

I need to pass a variable to a html table in a email

htmlText = htmlText & "<p><b>First Name:</b>    <%=Request("fname")%></p>"



What Am I Doing Wrong?



---

http://www.asptoday.com - the leading site for timely,

in-depth information for ASP developers everywhere.

---

You are currently subscribed to asp_forms as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_forms-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #2 by "Jacques Leclerc" <jleclerc2@h...> on Mon, 1 Jan 2001 14:47:57 -0500
Looks like you are already in a script block so you shouldn't need the <% %>

delimiters.

Try this:

htmlText = htmlText & "<p><b>First Name:</b>   " & Request("fname") & "</p>"



Jacques

jacques_leclerc2hotmail.com



----- Original Message -----

From: "David" <mcmahan@b...>

To: "ASP Forms" <asp_forms@p...>

Sent: January 01, 2001 1:36 PM

Subject: [asp_forms] pass a variable to a html table in a email





> This my first post:

> Can someone please help

> I need to pass a variable to a html table in a email

> htmlText = htmlText & "<p><b>First Name:</b>    <%=Request("fname")%></p>"

>

> What Am I Doing Wrong?

>



---

http://www.asptoday.com - the leading site for timely,

in-depth information for ASP developers everywhere.

---

You are currently subscribed to asp_forms as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_forms-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #3 by "David McMahan" <mcmahan@b...> on Tue, 2 Jan 2001 07:24:56 -0600
Works, Thanks so much



David

-----Original Message-----

From: Jacques Leclerc [mailto:jleclerc2@h...]

Sent: Monday, January 01, 2001 1:48 PM

To: ASP Forms

Subject: [asp_forms] Re: pass a variable to a html table in a email





Looks like you are already in a script block so you shouldn't need the <% %>

delimiters.

Try this:

htmlText = htmlText & "<p><b>First Name:</b>   " & Request("fname") & "</p>"



Jacques

jacques_leclerc2hotmail.com



----- Original Message -----

From: "David" <mcmahan@b...>

To: "ASP Forms" <asp_forms@p...>

Sent: January 01, 2001 1:36 PM

Subject: [asp_forms] pass a variable to a html table in a email





> This my first post:

> Can someone please help

> I need to pass a variable to a html table in a email

> htmlText = htmlText & "<p><b>First Name:</b>    <%=Request("fname")%></p>"

>

> What Am I Doing Wrong?

>









---

http://www.asptoday.com - the leading site for timely,

in-depth information for ASP developers everywhere.

---

You are currently subscribed to asp_forms as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_forms-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #4 by "Biswajit P. Panda" <bpanda@t...> on Wed, 3 Jan 2001 12:39:14 +0530
in my asp form after sometime it shows ur session has been expired.

i have declared all my session variable in some other asp file.

so how can i avoid this situation.



thank u in advance

happy new year





-----Original Message-----

From: David McMahan [mailto:mcmahan@b...]

Sent: Tuesday, January 02, 2001 6:55 PM

To: ASP Forms

Subject: [asp_forms] Re: pass a variable to a html table in a email





Works, Thanks so much



David

-----Original Message-----

From: Jacques Leclerc [mailto:jleclerc2@h...]

Sent: Monday, January 01, 2001 1:48 PM

To: ASP Forms

Subject: [asp_forms] Re: pass a variable to a html table in a email





Looks like you are already in a script block so you shouldn't need the <% %>

delimiters.

Try this:

htmlText = htmlText & "<p><b>First Name:</b>   " & Request("fname") & "</p>"



Jacques

jacques_leclerc2hotmail.com



----- Original Message -----

From: "David" <mcmahan@b...>

To: "ASP Forms" <asp_forms@p...>

Sent: January 01, 2001 1:36 PM

Subject: [asp_forms] pass a variable to a html table in a email





> This my first post:

> Can someone please help

> I need to pass a variable to a html table in a email

> htmlText = htmlText & "<p><b>First Name:</b>    <%=Request("fname")%></p>"

>

> What Am I Doing Wrong?

>



---

http://www.asptoday.com - the leading site for timely,

in-depth information for ASP developers everywhere.

---

You are currently subscribed to asp_forms as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_forms-$subst('Recip.MemberIDChar')@p2p.wrox.com


  Return to Index