debug($return_value = 0, $print_on_screen = 0)

Prints out database values for current class.

If   $return_value is TRUE - the string is returned by the function, otherwise, the function echo's the information and returns 1

If   $print_on_screen is TRUE - the information is formatted as $key: $value\n$key: $value\n... otherwise, the info is put into a table

Example:

example.php
<?php
include("lib.php");
load("person");

$p = new person($_GET["person_id"]);
$p->debug();

?>