0

Currently I am writing a simple register/login/reset password script in php and I am curious if do I have to especially take care of "%" sign in user inputs. I am using mysql_real_escape_string, but I don't know where "%" can make me into trouble. Any tips?

Jakub Pastuszuk
  • 928
  • 4
  • 12
  • 31
  • That's only of significance in `LIKE` clauses. Or did you come across some specific warning / previous question / article that prompted your question? – mario Sep 14 '14 at 00:26

1 Answers1

0

The best advise I could give you is to use prepared statements.

cdr
  • 131
  • 1
  • 4