Forums / Managing Customers and Orders / Admin Id in order page

Admin Id in order page

Locked

Views: 2,210

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
10 Oct 2007, 2:57 AM
#1
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

Admin Id in order page

Hello Everybody

How can get Admin id - on order page

i used $_Session['admin_id'] but it is not displaying any thing

i also try var_dump($_session)

can any one tell me how can i get admin id on this page

Please waiting for your positive reply

Thanks

10 Oct 2007, 3:01 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Id in order page

Might try using:
$_SESSION['admin_id']

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Oct 2007, 3:04 AM
#3
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

Re: Admin Id in order page

i know once admin login its id store some where in session

and all logic is in respected header file

but is php a case sensitive language?

because on other admin files i see same code

its $_Session['admin_id']

please help me

does any one has try .?

Thanks

10 Oct 2007, 12:07 PM
#4
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

Re: Admin Id in order page

i used
echo $_SESSION['admin_id'];

and it works

Thanks

10 Oct 2007, 3:48 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Id in order page

php is kinda funny on the syntax ... one itty bitty little typo or change in case and bammo!! :lamo:

Thanks for the update that $_SESSION['admin_id'] did work where $_Session['admin_id'] could not ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!