angst
12-10-2004, 05:51 PM
Hello,
I'm trying to split up an array to insert into a data base,
example,
I'm setup several check boxes on html form,
and i need to submit them to the db, and have them split so that
each value uses a new row.
like
Friday 4:00PM - 8:00PM, Saturday 8:00AM - Noon, Saturday Noon - 4:00PM, Saturday 4:00PM - 8:00PM, Sunday 8:00AM - Noon, Sunday Noon - Finish
i need to be able to insert these values one at a time,
I know i need to use an array to do this, but i can't remember how.
if some one could show me an example that would be great!
thanks in advance for your time!
-Ken
I'm trying to split up an array to insert into a data base,
example,
I'm setup several check boxes on html form,
and i need to submit them to the db, and have them split so that
each value uses a new row.
like
Friday 4:00PM - 8:00PM, Saturday 8:00AM - Noon, Saturday Noon - 4:00PM, Saturday 4:00PM - 8:00PM, Sunday 8:00AM - Noon, Sunday Noon - Finish
i need to be able to insert these values one at a time,
I know i need to use an array to do this, but i can't remember how.
if some one could show me an example that would be great!
thanks in advance for your time!
-Ken