The issue:
I have a timesheet application. It has an SQlite database. I am trying to find a way to present a GUI so that if the user clicks a square(a ) i need to paas the data from the template to the model (paris) so i can save it in theb SQlite database.
There are three tables one for users one for the timesheet and one for the department.
It is a timesheet like application.
The setup:
Slim php
Idiorm/Paris
SQlite3
Does anyone know a good way to make the user click a so that the data is passed on to the model from the view?
Thank you in advance!
Imagine this is your view
Yout php function which will add data into database
Hope it ill help you