$download will print on the screen on my localhost, but once I've uploaded it to my host and go to the website, everything else prints to the screen fine, but $download will not. When I view page source, shows nothing where $download should be.
$link_pattern = "/<tr><td><a(.*)<\/tr>/sU";
preg_match_all($link_pattern,$cr,$dm);
$downloads = $dm[0][0];
$pattern = '/src=\"/';
$replacement = 'src="http://www.triplestarent.com/images';
$download = preg_replace($pattern, $replacement, $downloads);
?>
<div class ="container">
<br>
<h1>
<?php echo $title; ?>
</h1>
<br>
<?php echo $image; ?>
<br><br>
<h2>
Track List
</h2>
<?php echo $tracks; ?>
<br><br>
<h2>
Download
</h2>
<br>
<table>
<?php echo $download; ?>
</table>
<br><br>
</div>