• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to pass vlaues

#1
Lightbulb 
Hallo everybody
i am creating a manufacturing form by this form i am getting all of user information and insert it into db successfully but while inserting i want also insert user id and user email(which is not displaying into form field).
NOTE: user id and email already kept while registration process after that user moved on manufacturing form.

Thanks
Looking forward
Nady
Reply

#2
It sounds like you need to store the user ID in a session or cookie so that when the manufacturing form is submitted that you can get the values and add them to the insert.
Reply

#3
@nady,
Your Question is sound like incomplete.
Where you want to insert user id and user email?
Session?
Cookie?
Any other table?
Code:
last_insert_id()
Web Developer
Reply

#4
When user signed in system, you should store user id and user email sore in session if user user is authenticated. When you insert in database table, make associative array to insert data which holds user id and user email as well as form data.
pmbaldha@gmail.com
Php Team Leader, freelancer
github.com/pmbaldha
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.