Welcome Guest, Not a member yet? Register   Sign In
How do I remove CodeIgniter from my url?
#5

[eluser]mousewonders[/eluser]
I guess I didnt state my problem correctly..

Code:
function edit()
    {
    $getid = $this->uri->segment(4);
    $where = 'event_id = $getid';
    $data['query'] = $this->db->get('events', $where);

}
The above works.. The only problem I have now is to pull the data from the query such as the event_title and the event_detail.

I tried looking in the user guide but it only really shows how to pull the data using a foreach. Well I will only have 1 row which needs to be editted.


Messages In This Thread
How do I remove CodeIgniter from my url? - by El Forum - 04-01-2008, 08:56 PM
How do I remove CodeIgniter from my url? - by El Forum - 04-01-2008, 08:57 PM
How do I remove CodeIgniter from my url? - by El Forum - 04-01-2008, 10:49 PM
How do I remove CodeIgniter from my url? - by El Forum - 04-01-2008, 11:46 PM
How do I remove CodeIgniter from my url? - by El Forum - 04-01-2008, 11:52 PM
How do I remove CodeIgniter from my url? - by El Forum - 04-01-2008, 11:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB