Welcome Guest, Not a member yet? Register   Sign In
array_walk inside controller class
#2

[eluser]Seppo[/eluser]
The problem with array walk is not a CI issue... Array walk passes, at least, two parameters, which are the value and the key. mysql_real_escape_string accepts two parameters: the value and the connection ID... So if you want to use array_walk instead you can create your own callback that receives the value, and may be the key and the connection id.


Messages In This Thread
array_walk inside controller class - by El Forum - 04-18-2008, 02:33 PM
array_walk inside controller class - by El Forum - 04-19-2008, 06:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB