문제

I need to input text name and id dynamically and I am trying as below

 {{ Form::text('practice', $practice->name, array('class' => 'large-2','id'=<?php echo $inputTextName;?>)) }}

But it is not parsing PHP here. Even I tried 'id'={{$inputTextName}} but it is giving error.

도움이 되었습니까?

해결책

Can you try this,

 {{ Form::text('practice', $practice->name, array('class' => 'large-2','id'=>$inputTextName)) }}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top