How would you do this.....?
How would you do this.....?
Hi there- I've made the following table http://i61.tinypic.com/zk0k2d.png
On clicking Add to List button, I want to populate another table with the selected name and the relevant information from the dropdowns in the following format:
Name, Activity, Date, Time Start, Time End, Duration
Obviously with multiple users selected most of the info inputted will be the same apart from the name. Just wondering how this is possible? In terms of inputting into a separate table on the database? Please be specific in answers as my knowledge level is low.
I know that it is fairly easy to just post this info to my table with php, but what I don't really know is how to get it in that format, and how to get the selected data from the table. Also don't know how to use my already preconfigured datables and editor plugins to accomplish this.
Is there a way to make all this info into an array like:
O'Donnel, Garden Tidy / Helping Hands Volunteering, 15/05/2014, 9.15am, 10.45am, 1.5hrs<br>
Adam Davies, Garden Tidy / Helping Hands Volunteering, 15/05/2014, 9.15am, 10.45am, 1.5hrs<br>
Adam Ridges, Garden Tidy / Helping Hands Volunteering, 15/05/2014, 9.15am, 10.45am, 1.5hrs<br>
Ailsa Curran, Garden Tidy / Helping Hands Volunteering, 15/05/2014, 9.15am, 10.45am, 1.5hrs<br>
etc.
etc.
and then simply post this to my table as an array in one nice, neat, simple step? Is that basically what JSON is?
Thanks!