Welcome Guest, Not a member yet? Register   Sign In
Trying to extend the input class
#4

[eluser]douglasbrownca01[/eluser]
Thank you very much for your reponse. I really appreciate it.
It didn't seem to help. As I understand you, I needed to add the public contructor to the MY_Input.php file....which I did.

Still getting a blank screen, and the log says there is php error over the date, but I'm not using the date function in the controller.


In my search function in the controller --


public function search() {


$query_array = array(
'fan_type_options'=>$this->input->post('fan_type_options'),
'fan_motor_type' => $this->input->post('fan_motor_type'),
'fan_ac_voltage' => $this->input->post('fan_ac_voltage'),
'fan_cfm' => $this->input->post('fan_cfm'),
'part-no' => $this->input->post('part-no'),
);

//print_r($query_array);


$query_id = $this->input->save_query($query_array);

redirect("rosenberg/view/$query_id");

}


if I print the $query_array -- it shows up correctly from the form post, so I know it's got data to insert into the table.


Messages In This Thread
Trying to extend the input class - by El Forum - 01-07-2013, 07:05 AM
Trying to extend the input class - by El Forum - 01-07-2013, 07:30 AM
Trying to extend the input class - by El Forum - 01-07-2013, 07:31 AM
Trying to extend the input class - by El Forum - 01-07-2013, 08:22 AM
Trying to extend the input class - by El Forum - 01-07-2013, 08:29 AM
Trying to extend the input class - by El Forum - 01-07-2013, 08:47 AM
Trying to extend the input class - by El Forum - 01-07-2013, 09:11 AM
Trying to extend the input class - by El Forum - 01-07-2013, 11:09 AM
Trying to extend the input class - by El Forum - 01-07-2013, 11:11 AM
Trying to extend the input class - by El Forum - 01-07-2013, 11:12 AM
Trying to extend the input class - by El Forum - 01-07-2013, 11:14 AM
Trying to extend the input class - by El Forum - 01-07-2013, 11:22 AM
Trying to extend the input class - by El Forum - 01-07-2013, 12:25 PM
Trying to extend the input class - by El Forum - 01-07-2013, 12:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB