Location: PHPKode > scripts > PHP MySQL class generator > php-mysql-class-generator/examples/test_delete.php

<?php

// SAMPLE FOR METHOD DELETE()

include_once("../generated_classes/class.test.php");

$test = new test();

$test->select(16);

$test->delete(16);

print "deleted record $test->id";

?>
Return current item: PHP MySQL class generator