Hallo,
PHP Version 5.2.0
Build Date Nov 2 2006 11:50:55
Server API Apache 2.0 Handler
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Sie Spalte heißt "datum" und ist vom Typ "timestamp".
Fehler:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY news.datum DESC LIMIT 0, 10' at line 1
PHP Auszug:
$artikel_anz_start=0;
$artikel_anz_end=10;
$table3='news';
// News auslesen
$sql="SELECT artikel, title, DATE_FORMAT(datum,'%W %d.%M %Y') AS date1, author,num FROM ".$table3." ORDER BY news.datum DESC LIMIT ".$artikel_anz_start.", $artikel_anz_end";
$row=mysql_query($sql) or die(mysql_error());
Hoffe es hilft weiter.
mfg
Phil Z.