navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

field as mailto subject

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> field as mailto subject
Page: [1]
 
walrus

 

Posts: 547
Joined: 3/13/2003
From: London
Status: offline

 
field as mailto subject - 10/30/2003 4:24:57   
I have this small script which works fine
if Trim(FP_Field(fp_rs,"Email")) = "" then
response.write ""
else
response.write "<a href=""mailto:"&FP_Field(fp_rs,"Email")&"""><img src='/images/email.gif' border='0'></a>"
end if
%>

I would like to add two or three more fields from the database to appear in the subject line. I can do this in a simple mailto but I can't work out the syntax when a field is involved.
Any help please?

_____________________________

I hope The Boss isn't reading this, ...she thinks I program everything!
walrus

 

Posts: 547
Joined: 3/13/2003
From: London
Status: offline

 
RE: field as mailto subject - 10/30/2003 5:43:28   
managed to work out
response.write "<a href=""mailto:"&FP_Field(fp_rs,"Email")&"?subject="&FP_FieldVal(fp_rs,"Street")&" £"&FP_FieldVal(fp_rs,"Rent")&"""><img src='/images/email.gif' border='0'></a>"

I refered to a previous tutorial I got from Spooky
http://www.frontpagewebmaster.com/fb.asp?m=132213&key=mailto
about where all the quotes should go. Very useful!

_____________________________

I hope The Boss isn't reading this, ...she thinks I program everything!

(in reply to walrus)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> field as mailto subject
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts