Passionate generalist conquering the web one project at a time. Whether authoring libraries for node, JS, PHP, or Rust, I am always on the lookout for better solutions to common problems.
Location
USA
Work
Lead Developer & Co-founder at corpscrypt, CTO at REtech
I don't know why this still finds it's way into tutorials and libraries in 2021, but be aware that there are SQL-injection possibilities with mysqli_real_eacape_string and that preventing those would exceed the feasibility of such entry-level tutorials. Please use prepared statements whenever handling user input.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I don't know why this still finds it's way into tutorials and libraries in 2021, but be aware that there are SQL-injection possibilities with mysqli_real_eacape_string and that preventing those would exceed the feasibility of such entry-level tutorials. Please use prepared statements whenever handling user input.