Example code for my Advanced PHP Class