Welcome Guest, Not a member yet? Register   Sign In
passing data to a custom library
#6

[eluser]mikedfunk[/eluser]
I did it this way:

Code:
if (is_array($param)) {$param = $param[0];}

then I can just pass in an array:

Code:
$this->load->library('lib_name', array('value'));


Messages In This Thread
passing data to a custom library - by El Forum - 09-21-2010, 06:30 PM
passing data to a custom library - by El Forum - 09-21-2010, 07:52 PM
passing data to a custom library - by El Forum - 09-21-2010, 08:25 PM
passing data to a custom library - by El Forum - 09-22-2010, 08:19 AM
passing data to a custom library - by El Forum - 10-08-2010, 07:20 PM
passing data to a custom library - by El Forum - 08-05-2011, 03:06 PM
passing data to a custom library - by El Forum - 08-05-2011, 05:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB