write less crud jtable with php

hopefully useful