using foreach() to capture multiple selections

From: Date: Tue, 21 Sep 2004 19:26:04 +0000
Subject: using foreach() to capture multiple selections
Groups: php.general 
Request: Send a blank email to php-general+get-197464@lists.php.net to get a copy of this message
Subject: using foreach() to capture multiple selections hi, i would like to to put multiple selections from a form list into a single variable using foreach but am unsure how to do so. can someone advise how to adapt the following code? <?php print "You are interested in: "; foreach($myGoals as $value) { print "$value "; } ?> --------------------------------- lukem - quality custom t-shirts browse - www.lukem.co.uk contact- info@lukem.co.uk need a new website? get over to http://www.lukem-sites.co.uk <http://www.lukem-sites.co.uk/>

« previous php.general (#197464) next »