Hi everyone,
The following code:
PHP Code:
<?php
$con
=mysqli_connect("localhost","root","root","db");
// Check connection
if (mysqli_connect_errno())
  {
  echo 
"Failed to connect to MySQL: " mysqli_connect_error();
  }
echo 
TIMEDIFF('2013-07-12 10:00:00','2013-07-11 10:00:00');
?>
Raises the following error message:
Fatal error: Call to undefined function TIMEDIFF() in
Any Idea what is wrong with how I use "TIMEDIFF" ?
Thanks