freak_vss
Hi all,
Im working on a problem in sessions concept. This program is just like a library check out and check in. The program works in such a way that when a person takes an item he enters his name in the test box and clicks a button (say taken) and a message appears that " person XYZ has taken the 'item' and will hit this button (say returned) after he returns" . When the person returns the item he clicks the returned button. My problem here is that I want to calculate the amount of time the person has checked out the item (from the time he clicked 'taken' till 'returned'). I know we can do this by using sessions but i dont have any idea as how it is implemented in PHP. Any information will be of a great help. Thanks a zillion.
Im working on a problem in sessions concept. This program is just like a library check out and check in. The program works in such a way that when a person takes an item he enters his name in the test box and clicks a button (say taken) and a message appears that " person XYZ has taken the 'item' and will hit this button (say returned) after he returns" . When the person returns the item he clicks the returned button. My problem here is that I want to calculate the amount of time the person has checked out the item (from the time he clicked 'taken' till 'returned'). I know we can do this by using sessions but i dont have any idea as how it is implemented in PHP. Any information will be of a great help. Thanks a zillion.