Welcome Guest, Not a member yet? Register   Sign In
User ID data not showing.
#5

One of the most common fatal errors in PHP is the “call to a member function of anon-object” type.
This occurs whenever a method is called on anything other than an object (usually null).

Check to make sure that you are getting a value passed for you users ID.

Here is a list of the returned query results.


PHP Code:
    /**
     * -----------------------------------------------------------------------
     * Return Object's:
     * result() = $row->title;
     * row()    = $row->title;
     *
     * Return Array's:
     * result_array() = $row['title'];
     * row_array()    = $row['title'];
     * -----------------------------------------------------------------------
     */ 


It sounds like your users ID is not being passed to the method.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
User ID data not showing. - by kirasiris - 01-27-2018, 12:47 AM
RE: User ID data not showing. - by InsiteFX - 01-27-2018, 04:56 AM
RE: User ID data not showing. - by kirasiris - 01-27-2018, 06:37 PM
RE: User ID data not showing. - by InsiteFX - 01-27-2018, 05:02 AM
RE: User ID data not showing. - by InsiteFX - 01-28-2018, 05:17 AM
RE: User ID data not showing. - by kirasiris - 01-28-2018, 06:51 PM
RE: User ID data not showing. - by InsiteFX - 01-29-2018, 04:04 AM
RE: User ID data not showing. - by kirasiris - 02-01-2018, 10:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB