[TYPO3-dev] Update database when saving plugin flexform configuration in BE?
JoH asenau
info at cybercraft.de
Thu Sep 10 11:51:57 CEST 2009
> Dimitry proposed: "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()."
>
> that's the same like I proposed.
And in the next lines he wrote:
> If I were you I would simply do this:
>
> list($row) = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('pi_flexform',
'tt_content', 'uid=' . $id, '', '', 1);
Which is what we are currently discussing.
So the question remains: Why not to introduce exec_SELECTgetSingleRow()?
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