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

php/mysql form parsing

Options
  • 13-06-2007 2:51pm
    #1
    Registered Users 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 Posts: 7,468 ✭✭✭Evil Phil


    Have a look at regular expressions.

    Thread locked.


This discussion has been closed.
Advertisement