I create some HTML Templates with php doms functionality, now i like to add some php tags into my template i.e.
$input = $this->dom->createElement('input');
$input->setAttribute("type", "text");
$input->setAttribute("name", $name);
$input->setAttribute("class", "input");
$input->setAttribute("id", $name);
$input->setAttribute("value", '<?=$foo->bar; ?>');
benim sorunum dom ayrıştırıcı php çizgi kaçış olmasıdır ..
<input type="text" name="id" class="input" id="id" value="\<?=$content->id;?>" />
Bunun başka bir yolu var mı?