I started learning Php scripting today only,i want to create an auction website for my college. I have a bid table having the following columns:
- Userid
- Itemid
- Bidamount
When a user logs in ,and goes to "Items.php" page and when he will click on the bid option on an item (each item has an itemid)he will be redirected to "bid.php" page.
My doubt is: I will get the useid by $_SESSION['userid'], will i similarly also get the
itemid automatically by the $_SESSION['itemid'], if not how do i pass the itemid to the bid.php page.
$_SESSION['userid']not by PHP. do you use some framework or tutorial code etc.?