inrichten base applicatie
This commit is contained in:
@@ -19,12 +19,18 @@ class MY_Controller extends CI_Controller {
|
||||
|
||||
private function handle()
|
||||
{
|
||||
|
||||
$this->environment();
|
||||
}
|
||||
|
||||
function clean_input( $post )
|
||||
{
|
||||
return str_replace( 'null', '', $this->db->escape_str( $this->input->post( $post ), TRUE ) );
|
||||
$value = $this->input->post( $post );
|
||||
|
||||
// $escapedValue = $this->db->escape_string( $value, TRUE );
|
||||
|
||||
$denulledValue = str_replace( 'null', '', $value);
|
||||
|
||||
return $denulledValue;
|
||||
}
|
||||
|
||||
public function json($data)
|
||||
|
||||
Reference in New Issue
Block a user