Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

add field when writing to database


Recommended Posts

Hi there.


Currently, my site is running 2 languages. When a person creates an account, i'd like to insert the current language_id into the database (along with the rest of that person's information). That way, i'll know that this person created the account while using a certain language and i'll continue to correspond with that person using that language.


I've created a field called language_id in the CUSTOMERS table. I just want to insert (int)$languages_id into that field. Where would I edit the "insert" to include this information? If this works well, i'd like to do the same to the ORDERS table as well.


Thank you kindly for your help!

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...