Hi,
I have Any Form For registering user. how to insert multiple rows in mysql for each user.

my form :
<input type = "text" name = "color" size = "10"><br>
<input type = "checkbox" name = colors[] value = "red">Red
<input type = "checkbox" name = colors[] value = "blue">Blue
<input type = "checkbox" name = colors[] value = "green">Green
<input type = "checkbox" name = colors[] value = "megenta">Megenta

how to insert multiple rows in mysql for each user.
MY mysql table is :
|id|name|lastname|color|date|desc

and how to show color list for each user .
example :
user 1 : red - blue
user 2 : blue - green . . etc
thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.