Codeigniter Why re-populating form on failed validation after submitting?

codeigniter 技術的なこと
この記事は約2分で読めます。

set_value () not re-populating

In CodeIgniter, I had faced the form validation problem .

Specifically , the problem is set_value () not re-populating.

I ‘ve found what was the problem to read some of the questions and answers of Stackoverflow.

I was in the wrong position to write a set_value ().

I had put the source code . Try to reference .

This article I look forward to helping with someone 🙂

 

 

mistake

controller

view

correct

controller

view

コメント

タイトルとURLをコピーしました