12-10-2016, 04:26 PM
In your query it should be =?",array($user->data()->id));
Or you could use your current user variable but the other one is already done for you.
Or you could use your current user variable but the other one is already done for you.