Thanks for the quick answer, but it didn't work.

Now, even if the user is logged in, it doesn't fill any field.


I'm using PHP 5.1.2 and mySQL 5.0.27