CodeIgniter's set_value() not re-populating

前端 未结 4 704
攒了一身酷
攒了一身酷 2020-12-20 20:48

I\'ve checked and re-checked my code, referencing the CI docs and other posts throughout the web, but I am unsuccessful at implementing the set_value() method for re-populat

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-20 21:19

    you surely have found a solution but, for people like me which were spending too many time for this trouble. I found a solution:

    so instead to code that

    
    

    Try this, it run very well:

    fnam, 'name'=> 'fname','value'=> set_value('fname'), 'size =>'50');
    echo form_input($data).'
    '; ?>

提交回复
热议问题