Why are my HTML tags disappearing?
<p>I am creating a web site with three components.  (I'll be adding JQuery and CSS, but for now I'm just trying to solve some basic mechanics)</p>

<p>My structure is :</p>

<ul>
<li>an HTML file for the presentation layer.</li>
<li>a JAVASCRIPT file for client-side processing</li>
<li>a PHP file for server side processing.</li>
</ul>

<p>Below is my code:</p>

<p>html:</p>

<pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;


    &lt;script type="text/javascript" src="RipListQuery.js"&gt;&lt;/script&gt;
    &lt;title&gt;CD Riplist Query&lt;/title&gt;
&lt;/head&gt;
&lt;body onload="getArtists()"&gt;
    &lt;h1&gt;CD Riplist Query&lt;/h1&gt;
    &lt;div id="divArtists" &gt;

    &lt;/div&gt;

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

<p>Javascript:</p>

<pre><code>function getArtists() {
xmlhttp = new XMLHttpRequest();


xmlhttp.open("GET","dataAccess.php",false);
xmlhttp.send();

document.getElementById("divArtists").innerHTML=xmlhttp.responseText;
}
</code></pre>

<p>php:</p>

<pre><code>&lt;?php

$con = mysql_connect('myServerAddress', 'ainsworthremote', 'myPassword');
if (!$con) {
    die("Could not connect: " . mysql_error());

}

$response = 
 "&lt;table border='1' id='Artists'&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Artist&lt;/th&gt;&lt;th&gt;Albums&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;";

mysql_select_db("ainsworthremote", $con);

$sql="SELECT artist, COUNT(*) AS albums FROM CD_RipList GROUP BY artist ORDER BY artist ";

$result=mysql_query($sql);

while ($row = mysql_fetch_array($result)) {
    $response = $response . "&lt;tr&gt;" .
    "&lt;td&gt;" . $row['artist'] . "&lt;/td&gt;" .
    "&lt;td&gt;" . $row['albums'] . "&lt;/td&gt;" .
    "&lt;/tr&gt;";
}
$response = $response . "&lt;/tbody&gt;&lt;/table&gt;";

mysql_close($con);

echo $response;

?&gt;
</code></pre>

<p>Instead of getting a table filled with artist names as expected, I get the following:</p>

<p>CD Riplist Query</p>

<pre><code>ArtistAlbums"; mysql_select_db("ainsworthremote", $con); $sql="SELECT artist, COUNT(*) AS albums FROM CD_RipList GROUP BY artist ORDER BY artist "; $result=mysql_query($sql); while ($row = mysql_fetch_array($result)) { $response = $response . "" . "" . $row['artist'] . "" . "" . $row['albums'] . "" . ""; } $response = $response . ""; mysql_close($con); echo $response; ?&gt; 
</code></pre>

<p>What I want to know (besides what I'm doing wrong) is:  What happened to my tags?</p>
