Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

php/mysql form parsing

  • 13-06-2007 1:51pm
    #1
    Registered Users, Registered Users 2 Posts: 4,475 ✭✭✭


    Has anyone got a good script that will take in something a user has entered into a form, parse and validate it for insertion into a mysql database? You know, such things as addslashes, string replacement for "'", special characters, etc. I would also need something that restores everything to how it was for reshowing in the form aswell as for showing it on a front end.

    Anyone got good scripts they re-use from time to time?


Comments

  • Registered Users, Registered Users 2 Posts: 7,468 ✭✭✭Evil Phil


    Have a look at regular expressions.

    Thread locked.


This discussion has been closed.
Advertisement