Can I have someone watch this for me? I want to echo $msg in this div.
$msg = "five";
$msg1 = "<div class='warning'><img src='images/warning_icon.png' alt='Information' width='32' height='29' class='icon' /><strong>Warning:</strong>you've added <?php echo $msg; ?> number of products<a href='#' class='close_notification' title='Click to Close' onclick='this.parentNode.parentNode.removeChild(this.parentNode);'><img src='images/close_icon.gif' width='6' height='6' alt='Close' /></a></div>";
This will be okay.
The problem was you mixed php with php when you placed
<?php...inside of the string$msg1.