Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Store an User ID

New Here ,
Sep 04, 2006 Sep 04, 2006
The follwing code stores only product id and its quantity through URL parameters. I need even the user id must be stored........please help with this.

thanks,

prashi
TOPICS
Server side applications
260
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 04, 2006 Sep 04, 2006
i would store the user id in a session variable:

<?php
session_start();
$_SESSION['user_id']='user_id';
?>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 04, 2006 Sep 04, 2006
LATEST
But i need the user_id to get stored in a table where product_id and product quantity gets stored. Any solutions .........
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines