[eluser]Computerzworld[/eluser]
Hello,
I am facing the same problem. I am trying to generate $this->validation variables dynamically in for loop something like
Code:
for($i=1;$i<5;$i++)
{
$this->validation->var.$i = some value...
}
or
Code:
for($i=1;$i<5;$i++)
{
$this->validation->var{$i} = some value...
}
but it doesn't works for me. So whats the exact syntax for it? Please help me. Thanks in advance.