Click here to Skip to main content
15,908,455 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Im creating a login system using PHP with MYSQL database

What I have tried:

im new to this please helppppppppp
Posted
Updated 5-Jun-21 20:27pm

1 solution

Probably, you are using the wrong version of PHP
See here: PHP: mysql_real_escape_string - Manual[^]
Quote:
mysql_real_escape_string — Escapes special characters in a string for use in an SQL statement

Warning
This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide. Alternatives to this function include:

mysqli_real_escape_string()
PDO::quote()
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900