[TYPO3-dev] Update database when saving plugin flexform configuration in BE?

JoH asenau info at cybercraft.de
Wed Sep 9 19:26:25 CEST 2009


> Also there is no
> need for the loop: you have only one row, which you could access as
> with a single call to sql_fetch_assoc().
>
> If I were you I would simply do this:
>
> list($row) = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('pi_flexform',
> 'tt_content', 'uid=' . $id, '', '', 1);

To get the superfluous loop from the core instead? ;-)

SCNR

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
TYPO3 workshops: http://workshops.eqony.com






More information about the TYPO3-dev mailing list