hello everyone,
I had three checkboxes cb1 cb2 and cb3 , if i check anyone of then and submit then the text in that should be stored in particular column .
how to use stored procedure for inserting the checked checkbox value
the below is te my table
| userid | happpy | angry | sad | date |
if i check cb1 and submit the text should be stored in happy same if cb2 is checked then in angry or cb3 then in sad .
how to write this in stored procedure .
I really got stuck at this . As i am new to this .Someone show me the right directioon.
Thanks in Advance.

Cynthia SathuragiriRank #937 · 2.2K reputationPosted Feb 27, 2018, 9:06 PM EST
Cynthia SathuragiriRank #937 · 2.2K reputationPosted Feb 27, 2018, 8:47 PM EST
Cynthia SathuragiriRank #937 · 2.2K reputationPosted Feb 27, 2018, 8:57 PM EST
Cynthia SathuragiriRank #937 · 2.2K reputationPosted Feb 27, 2018, 9:17 PM EST
Cynthia SathuragiriRank #937 · 2.2K reputationPosted Feb 28, 2018, 12:29 AM EST
Cynthia SathuragiriRank #937 · 2.2K reputationPosted Feb 28, 2018, 12:43 AM EST
Manav PandyaRank #166 · 14.3K reputationPosted Feb 27, 2018, 8:42 PM EST
Sindhu Kavuri64 reputationPosted Feb 27, 2018, 8:45 PM EST
Sindhu Kavuri64 reputationPosted Feb 27, 2018, 8:52 PM EST
Sindhu Kavuri64 reputationPosted Feb 27, 2018, 8:59 PM EST
Sindhu Kavuri64 reputationPosted Feb 27, 2018, 9:08 PM EST
Manav PandyaRank #166 · 14.3K reputationPosted Feb 27, 2018, 9:20 PM EST
Sindhu Kavuri64 reputationPosted Feb 27, 2018, 9:24 PM EST
Manav PandyaRank #166 · 14.3K reputationPosted Feb 27, 2018, 9:59 PM EST
Sindhu Kavuri64 reputationPosted Feb 27, 2018, 10:43 PM EST
Sindhu Kavuri64 reputationPosted Feb 28, 2018, 12:32 AM EST
kalai vanan145 reputationPosted Mar 4, 2018, 11:50 PM EST
Manav PandyaRank #166 · 14.3K reputationPosted Feb 28, 2018, 12:34 AM EST