I am reading 2 datatimer from mysql database. So I want to find out the difference between the two datediff in php? Any suggestion how to do it in php? Thank you.
Have a look at TIMEDIFF.
You might be able to do this in an sql statement, can you explain a bit more, show a row or two of data and explain what you are doing.