database interaction using a single page
Permalink
Hi,
I am new to concrete5 but it looks like a good framework to build my project around. i am not the best of coder and thats why i am here.
I want to use a single page where registered users can enter data into a form and this gets saved to a custom table in the db.
i got the table set up and the data shows up on the single page as i want it to. inserting data however is not something i seem to get to work. the relation between the single page and the single page controller is a bit confusing to me. i cant seem to find a tutorial to get me on the way either.
is there a dev who could please write a small tutorial specifying what i should include in the controller and how to set up the single page so that the data entered into the form gets inserted in the database
data consists of a date, uploaded file, text field/comments
thank you to whoever wants to help me out!!
I am new to concrete5 but it looks like a good framework to build my project around. i am not the best of coder and thats why i am here.
I want to use a single page where registered users can enter data into a form and this gets saved to a custom table in the db.
i got the table set up and the data shows up on the single page as i want it to. inserting data however is not something i seem to get to work. the relation between the single page and the single page controller is a bit confusing to me. i cant seem to find a tutorial to get me on the way either.
is there a dev who could please write a small tutorial specifying what i should include in the controller and how to set up the single page so that the data entered into the form gets inserted in the database
data consists of a date, uploaded file, text field/comments
thank you to whoever wants to help me out!!
There is a free add-on that I think you could use as a learning tool by looking at the code.
https://www.concrete5.org/marketplace/addons/simple-testimonials/...