return
<<< EOT
<input type="text" name="questao{$this->numQuestao}" value="<?php echo $questao{$this->numQuestao}?>"/>
EOT;
I needed to print this in my file html
: <?php echo $questao{$this->numQuestao}?>
with $
, however it is giving this error:
Parse error: syntax error, unexpected end of file
If I did with quotation marks, it would work:
return
'value="<?php echo $questao'.$this->numQuestao.'">';