You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in C:\xampp\htdocs\Sacco1\process\login.php:22 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Sacco1\process\login.php on line 22
#19
Open
extrememontage opened this issue
Jun 12, 2019
· 1 comment
hi am trying to log in with my credentials and am geting this error.
Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in C:\xampp\htdocs\Sacco1\process\login.php:22 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Sacco1\process\login.php on line 22
and this is the code
$uname = mysql_real_escape_string($uname);
$upass = mysql_real_escape_string($upass);
$upass = md5($upass);
$sql = "SELECT * FROM users WHERE uname ='$uname' AND upassword ='$upass'";
$user = $driver->perform_request($sql) or $error='SQL ERROR '.mysql_error().'';
if(mysql_num_rows($user)>1)
is the code correct? or why is it not getting information from the database?
Also having the same problem
Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in C:\xampp\htdocs\patanisho\process2.php:9 Stack trace: #0 {main} thrown in C:\xampp\htdocs\patanisho\process2.php on line 9
hi am trying to log in with my credentials and am geting this error.
Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in C:\xampp\htdocs\Sacco1\process\login.php:22 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Sacco1\process\login.php on line 22
and this is the code
$uname = mysql_real_escape_string($uname);
$upass = mysql_real_escape_string($upass);
$upass = md5($upass);
$sql = "SELECT * FROM users WHERE uname ='$uname' AND upassword ='$upass'";
$user = $driver->perform_request($sql) or $error='SQL ERROR '.mysql_error().'';
if(mysql_num_rows($user)>1)
is the code correct? or why is it not getting information from the database?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: