i mean by write less,do more this mean instead of write for example query then mysql_fech_array then make loop you can make all this in one function by this kind of classes today i get new class today its written by jonasjohn This class provides some simple methods to access a MySQL database. It's does not contain any revolutionary functions, but the basics are implemented. (8 examples included) this is the source code for the 8 examples example_1.php [561 B] example_2.php [544 B] example_3.php [401 B] example_4.php [393 B] example_5.php [376 B] example_6.php [581 B] example_7.php [576 B] example_8.php [645 B] download the class + 8 example in zip archive or view the class source code