put php img src inside string
Im looking at a quite logic php problem for me. But cant fix it, so I ask you guys here.
How can I call/combine the underneath php img with the var string method?

I would like to call an image with php:

    <img src="<?php echo $this->getSkinUrl('images/prev.gif'); ?>

But I would like to call the php from the following string:

    var str_buffer = new String (
	 "<table width=\"100%\">\n"+
        "<tr>\n <td>\n"+
		"<img src=\"prev.gif\" width=\"16\" height=\"16\" border=\"0\""+
        " alt=\"previous month\"></td>\n"+
        "</tr>\n</table>\n"
    );
put php img src inside string
===

Im looking at a quite logic php problem for me. But cant fix it, so I ask you guys here.
How can I call/combine the underneath php img with the var string method?

I would like to call an image with php:

    <img src="<?php echo $this->getSkinUrl('images/prev.gif'); ?>

But I would like to call the php from the following string:

    var str_buffer = new String (
	 "<table width=\"100%\">\n"+
        "<tr>\n <td>\n"+
		"<img src=\"prev.gif\" width=\"16\" height=\"16\" border=\"0\""+
        " alt=\"previous month\"></td>\n"+
        "</tr>\n</table>\n"
    );