Allowing currency symbols with mysql real escape string
Allowing currency symbols
optik
5:48 pm on Jan 16, 2009 (gmt 0)
I have a user input filed that I want to accept $,£ and € symbols but mysql_real_escape_string is removing them, how can I properly protect myself with out using mysql_real_escape_string or is there another way?
optik
5:55 pm on Jan 16, 2009 (gmt 0)
sorry my fault I hadn't escaped the dollar sign in a previous ereg_repalce statement
coopster
10:27 pm on Jan 16, 2009 (gmt 0)
It's funny it didn't throw an error on you. Here nor there, glad you got it sorted.