Thread: PHP6 Wishlist
View Single Post
Old 11-30-2007, 07:25 PM   #33 (permalink)
Morishani
The Contributor
 
Join Date: Nov 2007
Posts: 32
Thanks: 5
Morishani is on a distinguished road
Wink

Quote:
Originally Posted by aristoworks View Post
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);
    } 
Send a message via ICQ to Morishani Send a message via MSN to Morishani
Morishani is offline  
Reply With Quote