Eiolon Posted June 9, 2007 Share Posted June 9, 2007 Hello, I have an ordering system. When someone submits an order request it sends an e-mail to the purchasers which contains the item information and a link to manage the order our intranet site. The problem is the link is just a general like such as http://intranet/orders What I would like to do is link directly to the item record itself. Is it possible to include a direct link to the record in the e-mail? Thanks. Link to comment https://forums.phpfreaks.com/topic/54895-mailing-a-direct-link-to-a-record/ Share on other sites More sharing options...
Full-Demon Posted June 9, 2007 Share Posted June 9, 2007 Well, if I understand correctly you want to send a link via email that when you click it, it will go to the item the user submitted? You could do something like http://www.yoursite.com/orders/index.php?order=15 So it will go to order 15, remember to check that it is the same user as who submitted it. In index.php you can use $_GET['order'], than you can use that to retrieve info from a db. Full-Demon Link to comment https://forums.phpfreaks.com/topic/54895-mailing-a-direct-link-to-a-record/#findComment-271521 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.