btw! if you use it inside a function, you need to declare it as global!
Catalin > Are you sure the data is posted from HTML > through POST ? try adding the lines below: > > > $colors=""; > if(is_array($HTTP_POST_VARS) && !empty($HTTP_POST_VARS )) { > > foreach($HTTP_POST_VARS as $ThisVar=>$ThisVal){ > > if(ereg("color-", $ThisVar) AND $ThisVal=="on" OR $ThisVal==1){ > > $newVarA=explode("-", $ThisVar); > > $colors.="$newVarA[1]:"; > > } > > } > } > > Catalin > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php