PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi, I am having problems with the email I am sending out which new members of my website use to activate their account. During my gmail tests (both local host and live) it seems to work fine. However I have become aware that for some people are getting the email such that the text link they click on only contains text without any link address. I am pretty sure the PHP code that creates the link is working. It is shown below stripped of stuff that need not be shown. I have seen many forums where they say "if the link does not work then click the button". So I decided to include a button as well. After struggling with several parsing tries to get the button to work I finally got it to show in the email. However when I try to put the actual activation code into the button code and the URL as well by using variables, PHP is replacing the code inside the variables $URL and $fldMM_Activation with strange replacement characters. I remember reading that there is a command to stop PHP from doing this. Unfortunately I don't remember what it is. Does anyone have any suggestions regarding this problem. Thanks, John
Thanks Christopher, no it is forgetting. I have taken about 3 months off and have not been doing much PHP programming. I slipped back into MS-Access syntax. How quickly we forget (use it or loose it). I will give it a try again with the period instead. I will try your other suggestion too. Thanks again, John