I'm trying to code a timesheet web page/database application that consists of a form in which the user enters his/her timesheet details - the results of which are then submitted to a mySQL database.
The mySQL database works well and the data submits, but the web design calls for each entry to be added immediately following submission into a table at the bottom of the page. This table is written in and therein lies the problem.
I don't know how to enter details into HTML tables based on user input.
For example, if the user worked for one hour in the morining, he or she would enter the details pertaining to that hour (i.e. Start/Finish Time, Hours Worked, Job Description etc) and click submit.
The form then reloads and this data then n needs to be in the HTML table. If the process is repeated, the next entry should be in the same table, but on the next row.
This cycle should continue - each subsequent entry must be on the line below it - until
terminated by the user by clicking on a "Completed" button.
Anyway, I know my explanation is not very clear, but basically I need to know how to send form data to specific rows, columns and cells of an HTML table.
Any assistance would be greatly appreciated - its driving me crazy!
Thanks!