Hi guys, Having abit of trouble with inserting values that i have in my form into my sql database.
Basically it supposed to calculate a customer who borrowed a DVD or CD. I select the date that the customer brings the returned item by selecting a datepicker. The calculation works fine, but i want to insert 3 values into my database under column names that i already have. The table name is Trnsaction. it has the following coloumn names:
- Trnsaction_id
- Member_id
- Album_id
- issue_date
- return_date
- members_date
- days_delayed
- fine
The last 3 coloumns(members_date ,days_delayed ,fine) are values i wish to add to my database. The values days_delayed and fine only pop up when i have selected my date (thats members_date) form the datepicker and selected the calculate button
How can i insert these values to my existing database?
Thanks