how to retrieve the value of check box in php.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





hi all
i have a problem in PHP
how can i retrieve the value of check box in php.
my code for first page is like:

***********************************************************

Which services offered by SNL is know to you:
<INPUT NAME="snl_services" TYPE="checkbox" VALUE="IDC">IDC
<INPUT NAME="snl_services" TYPE="checkbox" VALUE="SMS">SMS
<INPUT NAME="snl_services" TYPE="checkbox" VALUE="Virus Scan">Virus
Scan
**************************************************
***********************

in the next page to display the selected value i am using the code:

***************************************************************

Which services offered by SNL is know to you: $_POST[snl_services]

*************************************************************

But it show the only last selected value. how can i display multiple
salected value like IDC, SMS.....

please help me.... 


thanks
Sunit Sinha








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/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux