Forums
This topic is locked
link in email carrying variables
Posted 04 May 2003 16:37:52
1
has voted
04 May 2003 16:37:52 Richard Krawczak posted:
Hi there,Tried it everywhere and untill now no hit.
So I try it here hoping you can help me out.
I constructed an email wich has to have a url link which holds some variables to it. When the receiver of the mail clicks the link, the link connects to a asp/php file on the site that will process the variables further on.
Everything works fine when no variables are attached. So my sintax must be the problem.
Can anyone provide me with the information of how to make a <a href in an email that has some variables attached to it????
please help me out here
JJF
Replies
Replied 04 May 2003 18:24:54
04 May 2003 18:24:54 Michael O'Neill replied:
Hi. This works for PHP
1 variable
href=receivingpage.php?message=hello
2 variables
href=receivingpage.php?message=hello&name=mike
Hope this helps
Mike
Edited by - carphone on 04 May 2003 18:25:40
1 variable
href=receivingpage.php?message=hello
2 variables
href=receivingpage.php?message=hello&name=mike
Hope this helps
Mike
Edited by - carphone on 04 May 2003 18:25:40
Replied 04 May 2003 19:34:55
04 May 2003 19:34:55 Richard Krawczak replied:
Hi carphone
tried this in the mailbody, but it didnt work. Can you hint me what is wrong in my code?
"<a href = 'molk.nl/hoofdmap/confirm.asp & "?" & valid = "true" & id = rs_email("Klant_Id" & email= rs_email("Email"'>Klik hier om uw order te bevestigen </a>"
tried this in the mailbody, but it didnt work. Can you hint me what is wrong in my code?
"<a href = 'molk.nl/hoofdmap/confirm.asp & "?" & valid = "true" & id = rs_email("Klant_Id" & email= rs_email("Email"'>Klik hier om uw order te bevestigen </a>"
Replied 04 May 2003 22:47:23
04 May 2003 22:47:23 Michael O'Neill replied:
You are quoting an ASP receiving page which my code will not work with. This should work with PHP ONLY (note: this has not been tested, also note the lack of whitespace)
<?php
echo '<a href= molk.nl/hoofdmap/confirm.php?valid=true&id='.rs_email("Klant_Id".'&email='.rs_email("Email".'>Klik hier om uw order te bevestigen </a>'
?>
Have Fun
Mike
<?php
echo '<a href= molk.nl/hoofdmap/confirm.php?valid=true&id='.rs_email("Klant_Id".'&email='.rs_email("Email".'>Klik hier om uw order te bevestigen </a>'
?>
Have Fun
Mike