Now I found that when I do the binding It doesn't work.
For Ex. This code it doesn't work, but in my previous server was working perfectly
- Code: Select all
$mySqli = $this->openConnection();
$stmnt = $mySqli->prepare("Call selecttUserFromCredentials(?,?);");
$stmnt->bind_param("ss", $userName, $password);
$result = $stmnt->execute();
But the following code works perfectly
- Code: Select all
$mySqli = $this->openConnection();
$stmnt = $mySqli->prepare("Call selecttUserFromCredentials('". $userName. "','". $password. "')");
$result = $stmnt->execute();
Any idea what can it be, and how to solve it in order to continue working with the binding?
Thank you very much

