php - Display data into textbox in codeigniter -


I'm new to codeigniter I'm stuck somewhere in the value received from the database! How can I display values ​​to remove text from database using Codeigniter?

My view is: PutArtistProfile_v

  & lt ;? Php foreach ($ return_name as line $) {echo '& lt; Input type = "text" name = "name" id = "name" /> '; }? & Gt;   

My Controller is:

  Public Function Index ($ return_name) {$ this- & gt; Load-> View ('PutArtistProfile_v', $ return_Name); }   

$ return_Name - The data received from the database.

  & lt ;? Php foreach ($ return_name as the $ key) {$ val = $ key- & gt; Text_name; Echo "& lt; input type = 'text' value = '$ val' / & gt;"; }? & Gt;    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -