Re: Automatically Escape?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello GH,

Tuesday, November 16, 2004, 12:25:20 PM, you wrote:

G> Is there a function that can automatically escape special characters
G> before putting them into mySQL?

See magic_quotes to have it done for you. Although this isn't a
recommend approach if you plan to distribute your application, in
which case mysql_escape_string() is the one.

Best regards,

Richard Davey
-- 
 http://www.launchcode.co.uk - PHP Development Services
 "I am not young enough to know everything." - Oscar Wilde

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux