Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    application error 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

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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!

  3. #3
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    Default Re: Admin Id in order page

    i used
    echo $_SESSION['admin_id'];

    and it works

    Thanks

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Admin Id in order page

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

    Thanks for the update that $_SESSION['admin_id'] did work where $_Session['admin_id'] could not ...
    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!

 

 

Similar Threads

  1. Replies: 2
    Last Post: 8 Apr 2015, 01:23 PM
  2. Replies: 1
    Last Post: 5 Sep 2012, 11:57 AM
  3. Re: Admin order page
    By gaurav10feb in forum General Questions
    Replies: 7
    Last Post: 16 Jan 2011, 11:35 PM
  4. Replies: 3
    Last Post: 6 May 2009, 09:59 PM
  5. No order page showing in admin
    By dannyboye in forum General Questions
    Replies: 2
    Last Post: 1 Jul 2007, 06:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg