Welcome Guest, Not a member yet? Register   Sign In
DB Active Record - addslashes on data?
#3

[eluser]gscharlemann[/eluser]
I posted the above without doing a thorough review of the addslashes documenation for php. Noticed in the comments that someone provided a function to add slashes to the values in an array. I guess that will work, but it doesn't seem to be the most efficient, especially with a large 1500+ item array.

http://php.net/manual/en/function.addslashes.php


Messages In This Thread
DB Active Record - addslashes on data? - by El Forum - 11-04-2009, 12:23 PM
DB Active Record - addslashes on data? - by El Forum - 11-04-2009, 03:10 PM
DB Active Record - addslashes on data? - by El Forum - 11-04-2009, 03:14 PM
DB Active Record - addslashes on data? - by El Forum - 11-04-2009, 03:30 PM
DB Active Record - addslashes on data? - by El Forum - 11-04-2009, 06:52 PM
DB Active Record - addslashes on data? - by El Forum - 11-10-2009, 06:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB