PHP Stuff

Schema generator for MySQL databases

For non-relational tables, probably the easiest way of drawing tables content and make a graphical relationship between them is to use this little script that will generate a schema containing all your tables from a chosen database and all of them ready to be printed.
Continue Reading »


del.icio.us

3 Comments »

Peter on November 2nd 2007 in PHP Stuff

Two Functions to short a text in PHP

Here are two simple functions used to short a text length and add suspension points at the end in order to preserve template format.
Continue Reading »


del.icio.us

No Comments »

Peter on August 16th 2007 in PHP Stuff

PHP class for MySQL

Introduction

An object approach for handling MySQL queries. PHP is using a couple of functions for querying the database, so I have somewhat truncated this functions in a compact class. Continue Reading »


del.icio.us

3 Comments »

Peter on May 2nd 2007 in PHP Stuff