Sending a Code to an Email Address in CodeIgniter |
I'm having difficulty inserting the code into the database. I can get the email address inserted OK.
I searched "generate code with string_random(); see documentation about the string helper" in CodeIgniter's User Guide but could not get anything to work. But found another Random String which works if I insert it into the view page, but I can't get that into the database. I've tried many variations, including a separate Model Page but still can't get the code into the database. This is my Controller Page; PHP Code: <?php This is my Model Page; PHP Code: <?php |
Welcome Guest, Not a member yet? Register Sign In |