Sindhu Kavuri

Sindhu Kavuri

  • NA
  • 98
  • 12.3k

how to insert checkbox values by using stored procedure

Feb 28 2018 1:24 AM
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. 

Answers (18)