Welcome Guest, Not a member yet? Register   Sign In
how to show complete user profile page
#1

[eluser]Unknown[/eluser]
hi guys, i am new to codeigniter and making a social networking website to get better with it. But i don't know how to put all methods and there view put together to show complete user profile page.
i have profile controller which has different methods i.e. show_profile_pic etc.
but i don't know how to show all those methods show together.
please help me, and send me piece of code of that example if possible.
thankyou
#2

[eluser]vbsaltydog[/eluser]
A single server request to CI will run a single method of a single controller, as defined in the URI as:

/controller/method/parameter1/parameter2/etc

You do not typically run more than one method in a single server request but if you need to then you do it with:

Code:
$this->method($parameters);

from within the method called by the URI.




Theme © iAndrew 2016 - Forum software by © MyBB