title: How to validate the excel sheet value so that only correct data type value insert in to mysql database through php
body: <p>I want to actually import the .csv file to a database, my problem is that when I validate the data of excel sheet, only actual data should get inserted to the database. If one of the row does not match with the actual data type then it should show the message <code>this rows can not be insert in to database</code> using only php.</p>