On Fri, 5 Sep 2003, LeftOver Production / Jouni Tuovinen wrote: > <?php > // Everything about MySQL connecting has been done > $result = mysql_query("SELECT DATE_FORMAT(datefield, '%d.%m.%Y') FROM tbl"); > while ($row = mysql_fetch_assoc($result) { > echo "{$row['datefield']}\n"; > } > /* Output nothing */
Of course not, the name of the field is no longer named 'datetime' due to the function. Anyway, this is not a bug, and definitely the wrong forum to ask support questions. See http://php.net/support.php to find place how to get support. Derick -- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------