PHP Code:
function timeDiff($firstTime,$lastTime)
{
$firstTime=strtotime($firstTime);
$lastTime=strtotime($lastTime);
$timeDiff=$lastTime-$firstTime;
return $timeDiff;
$timeDiff($timet,$time);
echo "$timeDiff";
}
if (timeDiff($timet,$time)) {
echo "
there is .
also msg is different :
PHP Code:
Fatal error: Cannot redeclare timediff() (previously declared in /home/freecorplietuv/domains/laisvasprotas.xz.lt/public_html/index.php:228) in /home/freecorplietuv/domains/laisvasprotas.xz.lt/public_html/index.php on line 228
Bookmarks