If you use PDT, create your own PHP template. From the Window> Preferences menu, choose PHP> Editor> Templates. Click the "Create" button, then use mresas the template name, then put
mysql_real_escape_string(${cursor})
like a template.
, mres Ctrl + Space. mres , . 2 , mres mres , , , .