Mysql Json In Array Function Php File