开发者

enter selected checkbox values into database separated by commas [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜