Quick and dirty mysqli check