Hello, please I need help with this, i’m new to PHP I’ve been trying to figure out for over a week, an I’ve still found no answers.
I want to send out emails to the subscribers of my eBook. I want to include a link in the email, so when the link is clicked, the subscribers database will be updated.
When this link is clicked, the subscribers are redirected to my homepage.
So i’m having trouble with everything, from start to finish.
This is the code I’ve written so far:
[CODE]<body>
<a href=”” target=”_blank”>Click Here To Say YES!</a>
<?php
mysql_connect(“localhost”, “root”, “”);
mysql_select_db(“rmn”);
$sql = mysql_query(“UPDATE subscribe SET confirmaton =’YES’ WHERE email= [email]”);
?>
</body>
Thank you very much!