Form validation in PHP
When someone enters a string similar to this in my address input field:
Some street 98, 1'st floor.
I get an error due to the ' char. It's substituted by / and a space!
This is no good...
Does anyone have the valid php ereg function to disable or replace the illigal chars like ' & // $ etc etc... ?
If someone enters something like this in a form that submits it to a php page, it errors on me big time.
