Jump to content

I Do I Insert Data In A Module Function With Two Objectives?


RalphLeMouf

Recommended Posts

I am in the process of creating my forgotten password module. My logic seems to be there, but being new with codeigniter and mvc all together I am having some syntax logic errors.

The below code is me trying to have the user submit their email address and send them a token email, while simultaneously inserting a unique token and their email in a new table to check when they are actually on the reset password page.

I am getting the following errors:

( I get this three times ) A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/auth.php

Line Number: 150

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/auth.php

Line Number: 157

and here is a link to the code

thanks in advance.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.