Jump to content

zombica86

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

zombica86's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Yes I am looking for the code that is to be used for inserting the SESSION VARIABLE value actually i dont know how to insert the Session variable value in insert query but onething that it has to be inserted as a foriegn key.
  2. Hello I am new to PHP and dont know well about it. I am getting some problem in inserting $_SESSION variable value in database. I have a table called staff_users from that table i have to get a field called SID(StaffId) which i have done and it's working by this::: $staff_id=$_SESSION["SID"]; echo $staff_id; but the problem is that i want to insert this SESSION VARIABLE Value in another table called ORDERS which contain a field called staff_member_id (FK). How can I insert this session variable value in another table. Plz give me the solution of that and please try to be in simple way.THANX
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.