|There's more than one way to do things|
Re: Problem with a replacementby samarzone (Pilgrim)
|on Mar 14, 2011 at 09:57 UTC||Need Help??|
When you write
$init_name = "init_$ncat"
$init_name is assigned a value. Now no matter how many times you change the value of $ncat you don't change the value of $init_name
Try printing value of $init_name instead of $ncat