Import CSV File Into MySQL using LOAD DATA INFILE

Posted by on Feb 27, 2015 in General, MySQL, Php | 2 Comments

In this post we are discussing on how to use LOAD DATA INFILE statement to import CSV file into MySQL table. The following statement imports data from c:\tmp\data.csv file into the discounts table. The field of the file is terminated …

Finding difference between two dates using javascript

Posted by on Jan 30, 2013 in Javascript, Jquery | No comments yet

When we need to calculate the difference between two dates using javascript we need to convert the string to date and here is the code to do this And to find the difference in hours And to find the difference …

How to find the difference between two dates using php

Posted by on Dec 2, 2012 in Php | No comments yet

Here’s the code snippet to find the difference between two dates

Find next and previous date from current date PHP

Posted by on Nov 8, 2012 in Php | No comments yet

I found an interesting new way to find a future or past day, month, or year using PHP.To recaps we can find next and previous date from current date PHP Here are few examples It is much easier than using …

Load More