Cheking MySQL insertion