Update mysql_crud.php

Update to support mysqli class and onther error control, the rows afected by update, insert and delete are show them.
If an error ocurrs the error code wil be dispayed.
The results are showed in array by defaul, optionally in json format.