The kind of love Obi-Wan had for Anakin (and probably what all padawans/masters feel towards each other) was brotherly love.
Yeah but the code forbids all love it never say's what kind, Because when you love somthing you get attached to it. And Jedi are not suppost to be attached to anything. I think that rule was put in because if someone you love dies, you get angry, anger leads to hate, hate leads to suffering