Revision: 12686
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 24, 2009 15:13 by robv
Initial Code
addcslashes(mysql_real_escape_string($_POST['search']), '%_')
Initial URL
http://thisisrobv.com
Initial Description
Simple way to escape string for LIKE statements, useful for searches.
Initial Title
Escape String For Like Query
Initial Tags
mysql, php, search
Initial Language
PHP