I have a HTML page which posts information to a PHP page which contains a query for mysql to add records to a database
I want to strip all special characters and only allow 0-9 and a-z but also allow an email address field and a website address field.
I have been trawling through the web for days and it seems there are many ways of doing this but I am very confused.
This is to prevent from SQL injection attack
I want to strip all special characters and only allow 0-9 and a-z but also allow an email address field and a website address field.
I have been trawling through the web for days and it seems there are many ways of doing this but I am very confused.
This is to prevent from SQL injection attack
Comment