$result = sesam_execimm ("DELETE FROM PHONE WHERE LASTNAME = '".strtoupper ($name) ."'"); if (!$result) {... error...} print sesam_affected_rows ($result). "entries with last name ".$name." deleted.\n "
See also: sesam_query() and sesam_execimm()