Mailto link in php not working
<p>Problem;</p>

<p>My email link although displaying the mailto is not then adding it to the email client send line when clicked on;</p>

<pre><code>&lt;a href="mailto:"'.(empty($email) ? '&amp;nbsp;' : $email).'?Subject=Enquiry%20from%20family%20support%20search"&gt;'.(empty($email) ? '&amp;nbsp;' : $email).'&lt;/a&gt;
</code></pre>

<p>Are the double quotes for the mailto killing it? Tried single quoting but error comes up....</p>

<p>Source code (main parts)</p>

<pre><code>&lt;?php
//contact details
$org_name     = mysql_result($result, $i, 'org_name');
$prj_name     = mysql_result($result, $i, 'prj_name');
$org_address  = mysql_result($result, $i, 'org_address');
$contact_person = mysql_result($result, $i, 'contact_person');
$email = mysql_result($result, $i, 'email');
$website = mysql_result($result, $i, 'website');
echo '

&lt;/br&gt;                       
            &lt;h1 id="fs"&gt;Profile: &lt;span style="font-weight:bold; color:#000066"&gt;'.$org_name.'&lt;/span&gt;&lt;/h1&gt;

            &lt;img src="images/icons/'.$image_path.'" alt="" height="42" width="42" style="float: right;" /&gt;

            &lt;/div&gt;   


    &lt;p id="fs"&gt;&lt;a href="#map" title="View Location on Map" id="viewMap" class="bluelink"&gt;View on map&lt;/a&gt;&lt;/p&gt;
    &lt;br&gt;
        &lt;div id="fs-profile"&gt;
            &lt;h2 id="fs"&gt;Contact Information&lt;/h2&gt;
                &lt;dl&gt;
                    &lt;dt&gt;Address:&lt;/dt&gt;&lt;dd&gt;'.(empty($org_address) ? '&amp;nbsp;' : $org_address).'&lt;/dd&gt; 
                    &lt;dt&gt;Contact:&lt;/dt&gt;&lt;dd&gt;'.(empty($contact_person) ? '&amp;nbsp;' : $contact_person).'&lt;/dd&gt;
                    &lt;dt&gt;Project Name:&lt;/dt&gt;&lt;dd&gt;'.(empty($prj_name) ? '&amp;nbsp;' : $prj_name).'&lt;/dd&gt;
                    &lt;dt&gt;Tel:&lt;/dt&gt;&lt;dd&gt;'.(empty($telephone) ? '&amp;nbsp;' : $telephone).'&lt;/dd&gt;
                    &lt;dt&gt;Fax:&lt;/dt&gt;&lt;dd&gt;'.(empty($fax) ? '&amp;nbsp;' : $fax).'&lt;/dd&gt;
                    &lt;dt&gt;Email:&lt;/dt&gt;&lt;dd&gt;&lt;a href="'.(empty($email) ? '&amp;nbsp;' : $email).'?Subject=Enquiry%20from%20family%20support%20search"&gt;'.(empty($email) ? '&amp;nbsp;' : $email).'&lt;/a&gt;&lt;/dd&gt;
</code></pre>
