Jump to content

Employee ID


MNT

Recommended Posts

Hello,

I tried to get the current Employee ID but still have an error.

How can I get the Employee ID in 'AdminCustomers.php'

I tried: intval($cookie->id_employee) and $cookie->id_employee

but it doesn' work!!

Can you help please?

Thanks

Link to comment
Share on other sites

Hi

 

I think your are missing to declare $cookie thats why ,it doesnot return current Employee ID

 

write following line where you want to display Current Employee ID

 

global $cookie;
echo intval($cookie->id_employee) ; 

 

Hi,

 

or try

self::$cookie->id_employee

 

BR

 

Manuel

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...