PHP notes on programming / how to