A PHP Error was encountered

Severity: Warning

Message: mysqli_real_escape_string() expects exactly 2 parameters, 1 given

Filename: controllers/Main.php

Line Number: 46

Backtrace:

File: /home/oldkomandorod/public_html/application/controllers/Main.php
Line: 46
Function: mysqli_real_escape_string

File: /home/oldkomandorod/public_html/index.php
Line: 315
Function: require_once