[Typo3] TYPO3_DB

Pierre pierre at web-lance.com
Tue Feb 22 14:57:53 CET 2005


hi,

This is the first time i use the DBAL of typo3, and i surely 
misunderstood something i have this code :
$select ='DISTINCT(code_direct),rs1,pays';
				$from = '2004_AlphaDirects';
				$where = 'rs1 REGEXP "^'.$critere.'" ORDER BY rs1';
				$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery($select,$from,$where);
But $res is empty ... the query is OK i've tested it out of typo3.
Where am i wrong please ?
Thanks
Pierre



More information about the TYPO3-english mailing list