|
| |
|
|
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!
|
|
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
|
|
|