Welcome Guest, Not a member yet? Register   Sign In
Show content for scpecific user
#1

[eluser]ardillanet[/eluser]
Hello

I am developing an intranet and all user are registred. But I need show some content of intranet just for one specific user.


In my view I have this:

Code:
if($this->session->userdata('logged_in'))
   {
   $session_data = $this->session->userdata('logged_in');
     $data['username'] = $session_data['username'];
echo 'here I show some content';

But all user can see this content.

How can I do for show so for one user?

If somebody have any idea I really will happy Wink


Messages In This Thread
Show content for scpecific user - by El Forum - 07-17-2012, 08:58 AM
Show content for scpecific user - by El Forum - 07-17-2012, 09:34 AM
Show content for scpecific user - by El Forum - 07-17-2012, 09:46 AM
Show content for scpecific user - by El Forum - 07-17-2012, 09:55 AM
Show content for scpecific user - by El Forum - 07-17-2012, 11:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB