<?php

$sqlConnection = mysql_connect('localhost', 'uzytkownik', 'haslo');
mysql_select_db('db', $sqlConnection);

$result = mysql_query("SELECT UNIX_TIMESTAMP() as 'epoch'");
$row = mysql_fetch_array($result);

print "returnValue=" . $row['epoch'];

?>