[TYPO3-dev] A way to detect if table has a certain field
JoH asenau
info at cybercraft.de
Thu Sep 27 20:42:45 CEST 2007
>> $row=$GLOBALS['TYPO3_DB']->sql_fetch_row($row);
>
> use $row=$GLOBALS['TYPO3_DB']->sql_fetch_assoc($row);
or in just one go:
$row = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('*',$table,'');
;-)
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com
More information about the TYPO3-dev
mailing list