code examples for the php / mysql GDI class