php - Fatal error: Call to undefined method CI_Input::load_query() -



php - Fatal error: Call to undefined method CI_Input::load_query() -

i have been seek learning codeigniter build simple web application. got create work on windows machine. however, when migrated linux machine, im getting error. 1 i'm stuck @ is: fatal error: phone call undefined method ci_input::load_query(). found out new php version doesn't back upwards function anymore. can tell me how should alter next line in order create work?

the error im getting @ line $ci =& get_instance();. give thanks in advance.

function load_query($query_id) { $ci =& get_instance(); $rows = $ci->db->get_where('ci_query', array('id' => $query_id))->result(); if (isset($rows[0])) { parse_str($rows[0]->query_string, $_get); } } }

php codeigniter

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -