Tech @ LDS wrote: >sunitsinha wrote: > > >><INPUT NAME="snl_services" TYPE="checkbox" VALUE="Virus Scan">Virus >>Scan >> >>But it show the only last selected value. how can i display multiple >>salected value like IDC, SMS..... >> >> >You've given them all the same name! If you need more and don't want to >use another variable name, why not assign them to an array instead? > > > the easiest way to do this is to make the name an array... <INPUT NAME="snl_services[]" TYPE="checkbox" VALUE="blah">blah <INPUT NAME="snl_services[]" TYPE="checkbox" VALUE="blah2">blah2 on you're next page, your $_POST[snl_services] variable will hold all, seperated by a comma- which you could then insert into the DB, or use the explode() function on the comma. if both these above were checked, you would have: blah,blah2 as your passed arrary string. PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/