
Lambros Karalis - 2014-05-16 11:18:02
Hello everybody,
Congrats for your excellent job
however i have a question to make regarding the use of mysqli_real_escape_string with Ultimate MySQL.
The typical code i use in my pages is pretty much as follows
$db0 = mysqli_connect($server, $user, $pass, $base);
$myVar = mysqli_real_escape_string($db0, $myOtherVar);
I was wondering if there is a way to use mysqli_real_escape_string using your class.
The code below do not seem to work
$db = new MySQL(true, $base, $server, $user, $pass);
$myVar = mysqli_real_escape_string($db, $myOtherVar);
Do you have any suggestions?