Append to previous answers:
1. Did you edit CI system files? I highly recommend you to create MY_... files (in the application folder) instead.
2. It's good practice to use $this->input->get() instead of $_GET.
3. In your code used '$_GET['companyName']' as an $output index, not the value of $_GET['companyName'].