Array help
| From: | rdkurth at starband dot net | Date: | Thu, 08 Aug 2002 07:33:33 +0000 |
| Subject: | Array help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-111612@lists.php.net to get a copy of this message | ||
I need to pull the data out of an array the comes from a form where
the user can have multiple selections.
I am pulling the data out of the array like this
for($i=0;$i<count($hours);$i++){
$value= $hours[$i];
echo $value\n; }
This work just fine for getting the values out like this
01
02
13
14
But I want them all in one variable like this
01,02,13,14
--
Best regards,
Richard Kurth mailto:rdkurth@starband.net