Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

How to capture multiple choices in php

 
webmaster forum
kmoore  Offline
Activity
0%
 
New Coder
Posts: 20
Topics: 20
July 23, 2009, 11:43:49 PM

I was wondering how to capture multiple options passed through html forms in php.
For instance, if I offer a list of 20 items to my site's visitors in html checkboxes. How do I use php to capture the multiple choices selected by the visitor?

Is it possible by php or should I depend on javascript?
 
webmaster forum
polas  Offline
Activity
33.33%
 
Code Guru
Gender: Male
Posts: 1399
Topics: 85
WWW
July 24, 2009, 04:48:30 AM

Yes, it is possible and will return in an array, have a look at http://www.tizag.com/phpT/examples/formex.php/ which contains some examples

Mesham Type Oriented Parallel Programming Language, Free online technical support
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page January 26, 2012, 01:10:51 AM