If Array Not Null Mysql Connectorj