Hello,
I have a simple form that collects information from the user in front end.
I need to store this information in three different existing DB tables.
There are other ways to add data to these tables from Joomla Backend.
So, I need to check the records in the table and then +1 the primary key Id and then store the data.
Based on what I read in the forum, this should be possible with a custom code.
I assume i will not be using the DBsave feature. But instead a code should execute on submit.
Can your provide a simple sample code that reads existing DB table and that saves the form data to any DB table.
And also point to how or where this code should be put.
I'm a beginner,
Thanks,
I have a simple form that collects information from the user in front end.
I need to store this information in three different existing DB tables.
There are other ways to add data to these tables from Joomla Backend.
So, I need to check the records in the table and then +1 the primary key Id and then store the data.
Based on what I read in the forum, this should be possible with a custom code.
I assume i will not be using the DBsave feature. But instead a code should execute on submit.
Can your provide a simple sample code that reads existing DB table and that saves the form data to any DB table.
And also point to how or where this code should be put.
I'm a beginner,
Thanks,