Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: Re: need help with some Javascript

date posted 1st November 2004 23:29

Ok..

I will settle for the option which Andy suggested .. (thanks Andy)... it
just returns a comma delimited list which can be transformed for use via an
ASP script.

Thanks to both of you for your advice.

A case of wood through the trees after 14 hours in front of screen... don't
you just love last minute rushes the night before a progress deadline..

A slightly happier,
Luke.


http://www.lburgess.net




----- Original Message -----
From: "John Anderson" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Monday, November 01, 2004 11:27 PM
Subject: Re: FN-FORUM: Re: need help with some Javascript


>
> ----- Original Message -----
> From: "Luke Burgess" [EMAIL REMOVED]
>> I have seven checkboxes representing the days of the week.
>> I need to insert them into a single database table.
>>
>> To do this I am performing a function which checks if they are checked
>> and
>> then parsing the values into a single variable used to input into the
>> database.
>
> What language are you using to write to the database? If this is a
> MySQL/PHP setup, then I would recommend doing it using a straight HTML
> form
> checkbox, with the name being an array. Then pass the array to a handling
> PHP file to write to the database, as follows:
>
> print " \"Monday\">Monday";
> print " \"Tuesday\">Tuesday";
>
> etc.
>
> Then in a PHP file that the variables are submitted to, you can pick up
> the
> array "weekday" which will have the names of the days of the week that
> were
> selected.
>
> HTH
>
> John Anderson
> Soaring Penguin Ltd.
>
>
>
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>



Messages by Day
November 30th 2004
November 29th 2004
November 28th 2004
November 27th 2004
November 26th 2004
November 25th 2004
November 24th 2004
November 23rd 2004
November 22nd 2004
November 21st 2004
November 20th 2004
November 19th 2004
November 18th 2004
November 17th 2004
November 16th 2004
November 15th 2004
November 14th 2004
November 13th 2004
November 12th 2004
November 11th 2004
November 10th 2004
November 9th 2004
November 8th 2004
November 7th 2004
November 6th 2004
November 5th 2004
November 4th 2004
November 3rd 2004
November 2nd 2004
November 1st 2004


Messages by Month
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000