Welcome Guest, Not a member yet? Register   Sign In
how to edit
#1

[eluser]Mitja[/eluser]
This is my code

Code:
$id = $this->uri->segment(3);    //segment iz URLja
$data['query'] = $this->db->get_where('arrangement', array('arrangement_id' => $id));
$this->load->view('admin/arrangement_edit', $data);

how can i in view/admin/arrangement_edit use this function without foreach.

Code:
<tr><td>&lt;input type="text" name="title" value="&lt;?= $query-&gt;title?&gt;"></td></tr>

Ofcourse this is not working, how must i use it?


Messages In This Thread
how to edit - by El Forum - 05-27-2008, 03:47 PM
how to edit - by El Forum - 05-27-2008, 05:00 PM
how to edit - by El Forum - 05-27-2008, 10:26 PM
how to edit - by El Forum - 05-28-2008, 06:28 AM
how to edit - by El Forum - 05-28-2008, 09:07 AM
how to edit - by El Forum - 05-28-2008, 09:36 AM
how to edit - by El Forum - 05-28-2008, 10:04 AM
how to edit - by El Forum - 05-28-2008, 12:10 PM
how to edit - by El Forum - 05-28-2008, 01:13 PM
how to edit - by El Forum - 05-28-2008, 03:50 PM
how to edit - by El Forum - 05-28-2008, 04:25 PM
how to edit - by El Forum - 05-28-2008, 05:42 PM
how to edit - by El Forum - 05-28-2008, 06:28 PM
how to edit - by El Forum - 05-28-2008, 06:30 PM
how to edit - by El Forum - 05-28-2008, 08:18 PM
how to edit - by El Forum - 05-28-2008, 11:05 PM
how to edit - by El Forum - 05-28-2008, 11:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB