Re: Using mysql_real_escape_string without connecting to mysql
| From: | Chris | Date: | Wed, 23 Jan 2008 21:30:39 +0000 |
| Subject: | Re: Using mysql_real_escape_string without connecting to mysql | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267943@lists.php.net to get a copy of this message | ||
Right now I still use mysql_escape_string and it seems to work fine, but it makes me nervous as everything else I use is mysqli and I know it is not 100% compatible (just haven't had anything break it yet) - but I hate having to have a connection handle open just to escape things.If you need to escape something you're going to do a query aren't you? Or am I missing something here? -- Postgresql & php tutorials http://www.designmagick.com/