Welcome Guest, Not a member yet? Register   Sign In
passing 1 (or more) param's to a controller function?
#3

[eluser]PeteSig[/eluser]
Hmmm, but what if I don't know the exact number of param's that might be passed?

I know there should be at least 1 but there could be (n>1).

-----
Just found that Php manual covers this with 'func_num_args' and assoc'd func's, & my code snippet does it in much the same way using CI, so I guess it's ok.

Cheers

Pete
(not only getting to grips with CI, but also php :-S )


Messages In This Thread
passing 1 (or more) param's to a controller function? - by El Forum - 11-02-2010, 10:01 AM
passing 1 (or more) param's to a controller function? - by El Forum - 11-02-2010, 10:09 AM
passing 1 (or more) param's to a controller function? - by El Forum - 11-02-2010, 10:30 AM
passing 1 (or more) param's to a controller function? - by El Forum - 11-02-2010, 10:53 AM
passing 1 (or more) param's to a controller function? - by El Forum - 11-02-2010, 11:10 AM
passing 1 (or more) param's to a controller function? - by El Forum - 11-02-2010, 11:11 AM
passing 1 (or more) param's to a controller function? - by El Forum - 11-02-2010, 11:18 AM
passing 1 (or more) param's to a controller function? - by El Forum - 11-02-2010, 11:24 AM
passing 1 (or more) param's to a controller function? - by El Forum - 11-02-2010, 11:31 AM
passing 1 (or more) param's to a controller function? - by El Forum - 11-02-2010, 11:48 AM
passing 1 (or more) param's to a controller function? - by El Forum - 11-02-2010, 12:22 PM
passing 1 (or more) param's to a controller function? - by El Forum - 11-02-2010, 06:36 PM
passing 1 (or more) param's to a controller function? - by El Forum - 11-03-2010, 03:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB