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

I know this is a stupid question but I have looked everywhere and cant seem to find where to remove codeigniter from my url. The system seems to think I have my setup within a folder called Codeigniter which I dont.

It should be

Thanks for your help.


nevermind I am retarded... can you say... MORON IN YOUR CONFIG FILE!!.. hehe

That was an April fools joke! Wasn't it? :lol:

I'm not sure what I was thinking. I kept looking at it but refused to see the word CodeIgniter HAHA! As soon as I made the posted and switched screens back to my work.. right there it was!! I didnt even have to scroll in dreamweaver.. lmao. I am retarded.

but yeah.. APRIL FOOLS!... <grin>

I guess I didnt state my problem correctly..

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.

OMG. Maybe it is time to goto bed. I didnt mean to post this under this topic...

Theme © iAndrew 2016 - Forum software by © MyBB