11-30-2007, 07:25 PM
|
#33 (permalink)
|
|
The Contributor
Join Date: Nov 2007
Posts: 32
Thanks: 5
|
Quote:
Originally Posted by aristoworks
This might seem a bit retarded but I'd like a function similar to mysql_real_escape_string() but with a much shorter name. When I'm handling forms and going through escaping variables and such it becomes a pain writing a bunch of mysql_real_escape_string()'s.
|
Well , There you go :
PHP Code:
function a($szStr)
{
return mysql_real_escape_string($szStr);
}
|
|
|