Creating dynamic functions based on values from database |
[eluser]Pascal Kriete[/eluser]
I'm not sure I understand this correctly. You want segment 2 to be dynamic? Or you want segment 2 to define a new function? The latter isn't possible in php. Option 1: Routing (docs) Code: $route = array( Code: class Value1 extends Controller { Let me know if that answered your question at all ![]() And welcome to CodeIgniter. |
Messages In This Thread |
Creating dynamic functions based on values from database - by El Forum - 10-05-2008, 12:42 PM
Creating dynamic functions based on values from database - by El Forum - 10-05-2008, 01:01 PM
Creating dynamic functions based on values from database - by El Forum - 10-05-2008, 04:34 PM
Creating dynamic functions based on values from database - by El Forum - 10-05-2008, 09:01 PM
Creating dynamic functions based on values from database - by El Forum - 10-06-2008, 12:07 AM
Creating dynamic functions based on values from database - by El Forum - 10-06-2008, 12:18 AM
Creating dynamic functions based on values from database - by El Forum - 10-06-2008, 04:05 AM
|