Yep, you should use functions. Even for little things.
Splitting your code up into functions will not slow your scripts down, don't worry about that. If you see a patern emerging in your scripts, say you are writing out the same HTML tables over and over, just shove it in a function and call it when you need it.
Speed really isn't an issue with most PHP scripts, they're not really that large most times, so don't get stuck on worrying about performance.