PHP: ideal string method
<p>I'm new to PHP and I was wondering which is the ideal method to turn the text in the else statement below into code. 
I think my old way to escape every <strong>quote</strong> with a <strong>\"</strong> seems not to be the best way so 
how would you do it?</p>

<pre><code>&lt;?php
if (strlen($finalArray['Lat']) &lt;= 0){

} 
else 
{
&lt;a name="openframe"&gt;&lt;/a&gt;
Loc: &lt;br/&gt;
&lt;a href="#xmap" onclick="spoiliut('pmap');" title="&lt;?php echo $finalArray['Name']; ?&gt;" target="_self"&gt;&lt;strong&gt; &lt;?php echo $finalArray['Name']; ?&gt; &lt;/strong&gt;
&lt;/a&gt;
?&gt;
</code></pre>

<p>Thanks for tips.</p>
