Help with building blog with php & mysql from scratch

First of all I really like Wordpress but I want to make my own blog from scratch.
I need help though (hehehe)

If anyone has a basic one made up alredy please share source ,
its easier for me to start from that.

Any step by step tutorial would be nice.

My weakness are php sessions , cookies.

Starting with something like simpleblog or wordpress its to messy for me, need something really basic.


(yes i did used search but didnt found what i was looking for)