[TYPO3-dev] A way to detect if table has a certain field

Georg Ringer mail-spam at ringerge.org
Thu Sep 27 16:53:46 CEST 2007


Tapio Markula wrote:
> what Typo3 call I could use?
> I mean something like
> $GLOBALS['TYPO3_DB']->exec_SELECTquery('COUNT(*)',$table,'pid='.$id.' 
> AND deleted=0','', '', '');

what about
$GLOBALS['TYPO3_DB']->exec_SELECTquery('*',$table,'');
if $row['hidden']

georg




More information about the TYPO3-dev mailing list