codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Store slashes and quotes in database addslashes

    17th March 2014


    mysql codehaven category

    This function lets you store / add slashes in a database to characters that will cause problems when stored i.e. speechmarks, & signs etc.
    Useful for saving mysql statements.

    Was this code snippet helpful?