[eluser]Elliot Haughin[/eluser]
That looks pretty good BorsK...
And, another thing you might want to remember.
If ever you're doing a for loop, or a while loop, makes sure you don't use methods in the conditional statement, since they are executed on every iteration.
so:
Code:
for ($i = 0; $i < count($this->user_fields); $i++)
should be:
Code:
$max = count($this->user_fields);
for ($i = 0; $i < $max; $i++)
It's only a slight optimization, but they all add up!
Elliot