lundi 16 mars 2020

Laravel Blade, Escape Echo

I have a textarea tag that I wish to have a default value = example text area

I'm trying to do that with:

<textarea name="" id="" cols="30" rows="10">example text area</textarea> So the output value is exactly example text area

But thw code above will only print example text area

I tried {!!'&#123;&#123;"tre"&#125;&#125;'!!} and the same response above, I also tried {!!'example text area'!!} and it outputs <?php echo e("example text area"); ?>

so how to do it?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire