Mail only the checked check boxes
<p>I am trying to write a script that will allow me to include only those check boxes that were selected by the user and then mail them to me to respective email address .
The following code worked fine if i remove the whole section of selected option:
Kindly let me know what should i change in my following code that'll do the trick of mailing only the selected check boxes....</p>

<pre><code>$message = "&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv='Content-Type' content='text/html; charset=utf-8' /&gt;
&lt;title&gt;Something&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;


    &lt;strong&gt;Name&lt;/strong&gt; : $name &lt;br /&gt;
    PHONE : $phone &lt;br /&gt;
    Company : $company&lt;br /&gt;
    Selected options:&lt;br /&gt;
 if(isset($_POST['cb1'])) { 
    echo 'I am business interested in CareMerge&lt;br&gt;'; 
}  if(isset($_POST['cb2'])) { 
    echo 'Add me to your email list for updates&lt;br&gt;'; 
} if(isset($_POST['cb3'])) { 
    echo 'Contact me regarding partnership&lt;br&gt;'; 
} if(isset($_POST['cb4'])) { 
    echo 'Others&lt;br&gt;'; 
}  
    Comments/Questions:&lt;br /&gt;
    &lt;hr /&gt;
    $mess
    &lt;br /&gt;

&lt;/body&gt;
&lt;/html&gt;";
</code></pre>
