![]() |
variable name change in a loop - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: variable name change in a loop (/showthread.php?tid=12676) Pages:
1
2
|
variable name change in a loop - El Forum - 10-28-2008 [eluser]dmiden[/eluser] ![]() variable name change in a loop - El Forum - 10-28-2008 [eluser]xwero[/eluser] You can do Code: $row->{'keyword'.$counter} variable name change in a loop - El Forum - 10-28-2008 [eluser]wr5aw[/eluser] Sorry, I misinterpreted the original post. I was just about to suggest what xwero said. Works fine. |