enter selected checkbox values into database separated by commas [closed]
I have a php form with text boxes,radiobutton and checkboxes.I have written the coding for inserting the entered datas into database .my datas are getting entered except that of the checkbox values.i want to enter all the selected checkbox values within a single column separated by commas.can anyone correct my coding.I am not entering the code here since half of the codings are getting hidden.please go to the folllowing li开发者_如何学Cnk to view my coding.
http://pastebin.com/DTR9LvtZ
try something like
$url = implode("," , $_REQUEST['url']);
to convert your array to a comma seperated string
精彩评论