- Messages
- 111
- Reaction score
- 1
- Points
- 18
Hey,
I'm going to be displaying echo input from user, what are all the characters I need to filter out for it to be safe for display, does < and > suffice?
Also I'm loading the data into a database using PDO. What characters do I need to filter out to make that safe if any? (I'm using the bindValue with PDO)
I'm going to be displaying echo input from user, what are all the characters I need to filter out for it to be safe for display, does < and > suffice?
Also I'm loading the data into a database using PDO. What characters do I need to filter out to make that safe if any? (I'm using the bindValue with PDO)