Is this correct? I have checkboxes named service[] and am trying to get at them using implode()
$Offered_Service = $HTTP_POST_VARS["service"]; $O_Service = implode(",", $Offfered_Service); $message .= 'Services offered: <input type=text name=Offered_Service value="$O_Service"><br />';
Why is this not working?
at a glance, your variable name on this line is wrong:
$O_Service = implode(",", $Offfered_Service);
Shouldnt u write $Offered_Service rather than $Offfered_Service???
what's your $message got in it?
Note that vars aren't evaluated when they're inside singel quotes...
$a = "abcdfef"; $b = 'this is not a string: $a'; print $b; // output will be: this is not a string: $a