Mysql_real_escape_String
#1

Hi,

Now i'am using mysql_real_escape_String when i need escape string, but i see can also use %e in query and it will make same effect. But it'is changing in using memory? i mean escaping with function takes more memory or waiting for queries completed than using %e.
Reply
#2

To be honest, I doubt it makes much difference. The same function is called, it's just in two different places.
Reply
#3

using %e instead of mysql_real_escape_String will not make changes in memory uses
both are used to avoid sql injection.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)