how to add data in two different tables at the same time?

asdriel

Member
Apr 26, 2019
198
17
18
www.bantu-2rsn.com
I have 2 different tables where for me to be able to call a popup I need to send data to a second table, this is when an order is completed the data is sent to the "completed" wcfm_orders table and in the client area opens a ticket where he can send feedback on the product he received, and only after he sends that feedback it's opens the popup, I want it as soon as an order is completed the data is also sent to the other table where the feedback goes and the customer needs to give the feedback the popup opens.
 

gembels

Active member
Dec 11, 2018
140
49
28
nyit-nyit.net
mate, you need a professional to do it, its using PHP custom code, also in mysql they called it join table mysql command line, if you are only using a wordpress form I think they have this one especially for register form some short.
 
  • Like
Reactions: asdriel

asdriel

Member
Apr 26, 2019
198
17
18
www.bantu-2rsn.com
mate, you need a professional to do it, its using PHP custom code, also in mysql they called it join table mysql command line, if you are only using a wordpress form I think they have this one especially for register form some short.
i have something like this

“wcfm_after_order_mark_completed” (Parameters -> $order_id, $item_id, $product_id, $vendor_id, $customer_id, $customer_name, $customer_email)

the table where the data goes after status completed is wcfm_orders, and the another tabel is wcfm_support
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu