Results 1 to 2 of 2
Jan 15, 2013, 12:21 #1
- Join Date
- Aug 2009
- Pacific Northwest
- 0 Post(s)
- 0 Thread(s)
retreive MySQL data after mysqli_real_escape_string
OK, somewhere this has been answered but my searching was not fruitful in finding it and I am new at the SQL injection stuff.
I have a form where a user inputs some information. After the user clicks Submit, the form info is then checked for injection attacks as follows (there are 15 data inputs and this is the same way but only showing one):
Now, I want to retrieve that data onto a webpage but do NOT want the slashes in it to show. I am not sure how to write the select statement to possibly use stripslashes or is there another/better way to do this?
BTW, my provider is using PHP 5.2 but said I could upgrade to their 5.4 area if I want so would like to make this work at both levels.