![]() |
Registration form comfirmation email - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Registration form comfirmation email (/showthread.php?tid=48423) |
Registration form comfirmation email - El Forum - 01-16-2012 [eluser]selman555[/eluser] Hi! I'm in a bit of trouble, I think some of you know the tutorial on youtube from alboyd for making a registration form using codeigniter. I have a couple of functions (writing users to a database and making sure that the usernames are unique. These functions all work perfectly, but Al showed us how to call a function through url... He suggested making a function name register_comfirmation and calling that through the url http://localhost/codeigniter/ecards/user/register_confirmation/.$activation_code. Here's an example of my code: Code: echo '<b>Bedankt dat je gekozen hebt voor Magic E-Cards.</b><br /><br />Klik op deze link om je activatie af te ronden<br />'.'<a href="http://localhost/CodeIgniter/E-Cards/user/registerConfirm/'.$activatieCode.'">Bevestig deze link</a><br />Indien u zich niet ingeschreven heeft, kan u deze gewoon negeren.'; I've tried using anchor() too, but that gives me the same dead-end. In the same class, I made a function like this: Code: function registerConfirm() { This always brings me to a page that says "object not found, blablabla". Does someone have a clue what I'm doing wrong? |