Welcome Guest, Not a member yet? Register   Sign In
how to edit
#8

[eluser]Mitja[/eluser]
Rick Jolly where do you keep this function, under model or somewhere else?

I use it like this
Code:
if ($this->function_model->int_str($id))

Is this ok?

I also find that if i cast is_int work ok

Code:
$id = (int)$this->uri->segment(3);    //segment iz URLja
if (is_int($id))


Messages In This Thread
how to edit - by El Forum - 05-27-2008, 03:47 PM
how to edit - by El Forum - 05-27-2008, 05:00 PM
how to edit - by El Forum - 05-27-2008, 10:26 PM
how to edit - by El Forum - 05-28-2008, 06:28 AM
how to edit - by El Forum - 05-28-2008, 09:07 AM
how to edit - by El Forum - 05-28-2008, 09:36 AM
how to edit - by El Forum - 05-28-2008, 10:04 AM
how to edit - by El Forum - 05-28-2008, 12:10 PM
how to edit - by El Forum - 05-28-2008, 01:13 PM
how to edit - by El Forum - 05-28-2008, 03:50 PM
how to edit - by El Forum - 05-28-2008, 04:25 PM
how to edit - by El Forum - 05-28-2008, 05:42 PM
how to edit - by El Forum - 05-28-2008, 06:28 PM
how to edit - by El Forum - 05-28-2008, 06:30 PM
how to edit - by El Forum - 05-28-2008, 08:18 PM
how to edit - by El Forum - 05-28-2008, 11:05 PM
how to edit - by El Forum - 05-28-2008, 11:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB