single values into sql field


Posted on 16th Feb 2014 07:03 pm by admin

i have a form which i want the user to able to select multiple answers. But i want the answers to be stored into a single field on the mysql table in the back end. e.g

the user may select red + blue + green and so in the field i want it to show red,blue,green.

is it best to list the options in like an array or how do i do this as i dont do much PHP and so am a bit rusty.

hope you can help

No comments posted yet

Your Answer:

Login to answer
217 Like 11 Dislike
Previous forums Next forums
Other forums

Keeping data in form
How can I keep whatever I write in the form?

Table trouble
i have been reading the forum for a few weeks and decided to join. i like the format and the advice

CU&UC guide
Hi Gurus,

can anybody provide me the link for CU&UC upgrade guide

Thanks i

selection tool on raster image
Hi!
I have to implement in my app a selection tool which lets users to select region of any shape

get url?
how do i get the url of the page i'm currently on, on my website.. i think its get header.. how do i

why preg_match_all does not return the number of matches
My regex looks like

X[^x{4e00}-x{9fa5}]*Y

(where X and Y are two Chinese characters)

Extra fields in main body and php required.
I'm new to PHP so please be gentle. I have a little php script below that works well.
The &quo

Linking with Foreign Keys
I have been getting an erro when I try and link:

create table Faculty_Specialty (I_Name v

Passing Variables
What I'm wanting to do is when the user clicks on Arenas it will know the name of the country it's w

Why does my php page download images over and over
Can anybody please explain to me why my php page keeps downloading the images and other items every

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash