Hello List members,
$whereClause = $this->MOD_MENU['function'][(string)$this->MOD_SETTINGS['function']]; $query = $GLOBALS['TYPO3_DB']->SELECTquery( '*', 'tx_metri_secure_log', 'website=' . $whereClause, '', $this->sortOrder, $this->dlLimit ); I have the following code in a module I'm making, The error is in the where clause. Here is the debug outputs last query built: lastBuiltQuery SELECT * FROM tx_metri_secure_log WHERE pid=fmf.stephen.local ORDER BY tstamp DESC LIMIT 10 What could be causing it? Why, in the output, is the where clause on it's own line? The other clauses are all on one line. Stephen _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english