fixes to jTable

Jtable sql amd php fixes