Forums

Cannot save into double table

Yudhizth 29 Oct, 2014
Hi All, Sorry for asking (again)

I try to save data into two tables, first it works, and incident is coming, my friend inadvertent deleted one of db save event. So the back end show Error : 0 Couldn't connect to MySQL. Without thinking, I create new form, still the same form. And the problem is, when I click submit button, there is only save into one table, the other one is still empty. How to fix it Max? I really confused right now 😟
Yudhizth 29 Oct, 2014
This is my relation, every PK has autoincrement
Yudhizth 29 Oct, 2014
This is the result of debugger, Why the second dbsave is update query? I only put 2 dbsave event
Please help me 🙂
Max_admin 29 Oct, 2014
Answer
We have already solved this, the solution is to use unique "Model id" for your "DB save/DB read" actions when you have more than 1 in the same event!

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.