Hello hello. What I'm trying to do is show or hide div layers based upon the previous URL. I have a user panel for a library database project for school that lists all the books a user has out as well as fines, user info etc. When I go to checkout a book I have it set up so that you enter the user account number first and are directed to the user panel which gives you the option to check out books to the user. However; I want the librarian to be able to bring up the user account information alone as well when I click on view cardholder account and I want the checkout option hidden from there.
Basically I have two url's pointing to the same page and based upon which page you come from (checkout.html or viewcardholder.html) I want the userpanel.php to hide certain div layers. I'm not sure how I'd go about this.