\n"; $lastdate = mktime(0, 0, 0, date("m") , date("d")-90, date("Y")); //$lastdate = strtotime("1 january 2010"); $link = mysql_connect(server, username, password) or die("Could not connect to the database server: " . mysql_error()); mysql_select_db(dbname, $link) or die("Could not select database: " . mysql_error()); $sql = "select * from tbl_news where startdate > '" . date("Y-m-d", $lastdate). "' order by startdate desc;"; $result = mysql_query($sql); $sql2 = "select * from tbl_news order by startdate desc limit 1"; $result2 = mysql_query($sql2); $row = mysql_fetch_object($result2); ?> Westling IT News http://www.westlingit.com Senaste nytt från Westling IT i Sundbyberg/Solna. sv-se Mon, 14 Oct 2019 15:05:32 +0100 Thu, 01 Jan 1970 01:00:00 +0100 http://blogs.law.harvard.edu/tech/rss Dynamic PHP-script stefan@westlingit.com (Stefan Westling) stefan@westlingit.com (Stefan Westling) Westling IT News http://www.westlingit.com/images/rsslogo.gif http://www.westlingit.com 144 35 Westling IT http://www.westlingit.com/nyheter.php Thu, 01 Jan 1970 01:00:00 +0100 http://www.westlingit.com/nyheter.php?guid=